summaryrefslogtreecommitdiffstats
path: root/async/src/async.cpp
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2014-12-11 12:24:31 +0100
committerDan Vrátil <dvratil@redhat.com>2014-12-11 12:46:38 +0100
commit81b8158cca02defbfce5f1d59f06f7448fb5ea57 (patch)
treea43d3af0d2f57f636f8b7f9a05e9dce2af94d2aa /async/src/async.cpp
parent77d10f3633eb2210b465397fd3a29c77846c00a6 (diff)
downloadsink-81b8158cca02defbfce5f1d59f06f7448fb5ea57.tar.gz
sink-81b8158cca02defbfce5f1d59f06f7448fb5ea57.zip
Async: move some definitions out-of-line
Diffstat (limited to 'async/src/async.cpp')
-rw-r--r--async/src/async.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/async/src/async.cpp b/async/src/async.cpp
index 5c89e53..7e81f24 100644
--- a/async/src/async.cpp
+++ b/async/src/async.cpp
@@ -28,11 +28,18 @@
28 28
29using namespace Async; 29using namespace Async;
30 30
31JobBase::JobBase(JobBase::JobType jobType, JobBase* prev)
32 : mPrev(prev)
33 , mResult(0)
34 , mJobType(jobType)
35{
36}
37
38
31FutureBase::FutureBase() 39FutureBase::FutureBase()
32 : mFinished(false) 40 : mFinished(false)
33 , mWaitLoop(nullptr) 41 , mWaitLoop(nullptr)
34{ 42{
35
36} 43}
37 44
38FutureBase::FutureBase(const Async::FutureBase &other) 45FutureBase::FutureBase(const Async::FutureBase &other)
@@ -65,3 +72,4 @@ void FutureBase::waitForFinished()
65 delete mWaitLoop; 72 delete mWaitLoop;
66 mWaitLoop = 0; 73 mWaitLoop = 0;
67} 74}
75