diff options
author | Dan Vrátil <dvratil@redhat.com> | 2014-12-14 13:11:47 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2014-12-14 13:11:47 +0100 |
commit | 8618af7252260e1c283de20bc4cfd64d63b68770 (patch) | |
tree | 8375465836a5417bf61b4f5320a275e3a756c411 /async/src/future.cpp | |
parent | 664396b0e550910cea50b7852066a04cc7fec3bd (diff) | |
download | sink-8618af7252260e1c283de20bc4cfd64d63b68770.tar.gz sink-8618af7252260e1c283de20bc4cfd64d63b68770.zip |
Async: bring back synchronous Future::waitForFinished()
Diffstat (limited to 'async/src/future.cpp')
-rw-r--r-- | async/src/future.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/async/src/future.cpp b/async/src/future.cpp index 48c7417..dcbec32 100644 --- a/async/src/future.cpp +++ b/async/src/future.cpp | |||
@@ -25,13 +25,11 @@ using namespace Async; | |||
25 | 25 | ||
26 | FutureBase::FutureBase() | 26 | FutureBase::FutureBase() |
27 | : mFinished(false) | 27 | : mFinished(false) |
28 | , mWaitLoop(nullptr) | ||
29 | { | 28 | { |
30 | } | 29 | } |
31 | 30 | ||
32 | FutureBase::FutureBase(const Async::FutureBase &other) | 31 | FutureBase::FutureBase(const Async::FutureBase &other) |
33 | : mFinished(other.mFinished) | 32 | : mFinished(other.mFinished) |
34 | , mWaitLoop(other.mWaitLoop) | ||
35 | { | 33 | { |
36 | } | 34 | } |
37 | 35 | ||