diff options
author | Dan Vrátil <dvratil@redhat.com> | 2015-02-02 16:32:37 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2015-02-02 16:39:08 +0100 |
commit | b737a7deb5161d8b289c4c4bdfa324dccdb07dff (patch) | |
tree | 5c36e67bd65622bb9eb51f75d4f49e1501fc6b87 /async/src/async.h | |
parent | d10cbf7478cd2edfd44c162c1924109422584e22 (diff) | |
download | sink-b737a7deb5161d8b289c4c4bdfa324dccdb07dff.tar.gz sink-b737a7deb5161d8b289c4c4bdfa324dccdb07dff.zip |
Async: remove unused FutureWatchers
Diffstat (limited to 'async/src/async.h')
-rw-r--r-- | async/src/async.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/async/src/async.h b/async/src/async.h index a528571..a2a11ac 100644 --- a/async/src/async.h +++ b/async/src/async.h | |||
@@ -90,7 +90,6 @@ protected: | |||
90 | Executor(ExecutorBase *parent) | 90 | Executor(ExecutorBase *parent) |
91 | : ExecutorBase(parent) | 91 | : ExecutorBase(parent) |
92 | , mPrevFuture(0) | 92 | , mPrevFuture(0) |
93 | , mPrevFutureWatcher(0) | ||
94 | {} | 93 | {} |
95 | virtual ~Executor() {} | 94 | virtual ~Executor() {} |
96 | inline Async::Future<PrevOut>* chainup(); | 95 | inline Async::Future<PrevOut>* chainup(); |
@@ -101,7 +100,6 @@ protected: | |||
101 | std::function<void(const In& ..., Async::Future<Out> &)> mFunc; | 100 | std::function<void(const In& ..., Async::Future<Out> &)> mFunc; |
102 | std::function<void(int, const QString &)> mErrorFunc; | 101 | std::function<void(int, const QString &)> mErrorFunc; |
103 | Async::Future<PrevOut> *mPrevFuture; | 102 | Async::Future<PrevOut> *mPrevFuture; |
104 | Async::FutureWatcher<PrevOut> *mPrevFutureWatcher; | ||
105 | }; | 103 | }; |
106 | 104 | ||
107 | template<typename Out, typename ... In> | 105 | template<typename Out, typename ... In> |
@@ -110,9 +108,6 @@ class ThenExecutor: public Executor<typename PreviousOut<In ...>::type, Out, In | |||
110 | public: | 108 | public: |
111 | ThenExecutor(ThenTask<Out, In ...> then, ErrorHandler errorHandler = ErrorHandler(), ExecutorBase *parent = nullptr); | 109 | ThenExecutor(ThenTask<Out, In ...> then, ErrorHandler errorHandler = ErrorHandler(), ExecutorBase *parent = nullptr); |
112 | void previousFutureReady(); | 110 | void previousFutureReady(); |
113 | |||
114 | private: | ||
115 | Async::FutureWatcher<typename PreviousOut<In ...>::type> *mFutureWatcher; | ||
116 | }; | 111 | }; |
117 | 112 | ||
118 | template<typename PrevOut, typename Out, typename In> | 113 | template<typename PrevOut, typename Out, typename In> |