summaryrefslogtreecommitdiffstats
path: root/async
diff options
context:
space:
mode:
Diffstat (limited to 'async')
-rw-r--r--async/src/async.h10
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
201public: 201public:
202 template<typename OutOther, typename ... InOther> 202 template<typename OutOther, typename ... InOther>
@@ -244,10 +244,10 @@ private:
244 244
245namespace Async { 245namespace Async {
246 246
247template<typename Out, typename ... In> 247template<typename Out>
248Job<Out, In ...> start(ThenTask<Out, In ...> func) 248Job<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
253namespace Private { 253namespace Private {