summaryrefslogtreecommitdiffstats
path: root/async/src/future.cpp
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2014-12-14 13:11:47 +0100
committerDan Vrátil <dvratil@redhat.com>2014-12-14 13:11:47 +0100
commit8618af7252260e1c283de20bc4cfd64d63b68770 (patch)
tree8375465836a5417bf61b4f5320a275e3a756c411 /async/src/future.cpp
parent664396b0e550910cea50b7852066a04cc7fec3bd (diff)
downloadsink-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.cpp2
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
26FutureBase::FutureBase() 26FutureBase::FutureBase()
27 : mFinished(false) 27 : mFinished(false)
28 , mWaitLoop(nullptr)
29{ 28{
30} 29}
31 30
32FutureBase::FutureBase(const Async::FutureBase &other) 31FutureBase::FutureBase(const Async::FutureBase &other)
33 : mFinished(other.mFinished) 32 : mFinished(other.mFinished)
34 , mWaitLoop(other.mWaitLoop)
35{ 33{
36} 34}
37 35