diff options
author | Dan Vrátil <dvratil@redhat.com> | 2014-12-12 16:50:54 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2014-12-12 16:50:54 +0100 |
commit | ce3f95bf4863a6677670c40929e39d03171a52ba (patch) | |
tree | 901f566399f6dca3251595b6bec0cfef10c84de5 /async | |
parent | 71921ee52f7b74d5253e4101ac8a676d5d7ca27a (diff) | |
download | sink-ce3f95bf4863a6677670c40929e39d03171a52ba.tar.gz sink-ce3f95bf4863a6677670c40929e39d03171a52ba.zip |
Async: make it build again
Diffstat (limited to 'async')
-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 { |