diff options
Diffstat (limited to 'async/src')
-rw-r--r-- | async/src/async.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/async/src/async.h b/async/src/async.h index a10b3e8..0e4f246 100644 --- a/async/src/async.h +++ b/async/src/async.h | |||
@@ -195,8 +195,8 @@ class Job : public JobBase | |||
195 | template<typename OutOther, typename ... InOther> | 195 | template<typename OutOther, typename ... InOther> |
196 | friend class Job; | 196 | friend class Job; |
197 | 197 | ||
198 | template<typename OutOther, typename ... InOther> | 198 | template<typename OutOther> |
199 | friend Job<OutOther, InOther ...> start(Async::ThenTask<OutOther, InOther ...> func); | 199 | friend Job<OutOther> start(Async::ThenTask<OutOther> func); |
200 | 200 | ||
201 | public: | 201 | public: |
202 | template<typename OutOther, typename ... InOther> | 202 | template<typename OutOther, typename ... InOther> |
@@ -244,10 +244,10 @@ private: | |||
244 | 244 | ||
245 | namespace Async { | 245 | namespace Async { |
246 | 246 | ||
247 | template<typename Out, typename ... In> | 247 | template<typename Out> |
248 | Job<Out, In ...> start(ThenTask<Out, In ...> func) | 248 | Job<Out> start(ThenTask<Out> func) |
249 | { | 249 | { |
250 | return Job<Out, In ...>(new Private::ThenExecutor<Out, In ...>(func)); | 250 | return Job<Out>(new Private::ThenExecutor<Out>(func)); |
251 | } | 251 | } |
252 | 252 | ||
253 | namespace Private { | 253 | namespace Private { |