diff options
author | Dan Vrátil <dvratil@redhat.com> | 2014-12-11 12:24:31 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2014-12-11 12:46:38 +0100 |
commit | 81b8158cca02defbfce5f1d59f06f7448fb5ea57 (patch) | |
tree | a43d3af0d2f57f636f8b7f9a05e9dce2af94d2aa /async/src/async.cpp | |
parent | 77d10f3633eb2210b465397fd3a29c77846c00a6 (diff) | |
download | sink-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.cpp | 10 |
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 | ||
29 | using namespace Async; | 29 | using namespace Async; |
30 | 30 | ||
31 | JobBase::JobBase(JobBase::JobType jobType, JobBase* prev) | ||
32 | : mPrev(prev) | ||
33 | , mResult(0) | ||
34 | , mJobType(jobType) | ||
35 | { | ||
36 | } | ||
37 | |||
38 | |||
31 | FutureBase::FutureBase() | 39 | FutureBase::FutureBase() |
32 | : mFinished(false) | 40 | : mFinished(false) |
33 | , mWaitLoop(nullptr) | 41 | , mWaitLoop(nullptr) |
34 | { | 42 | { |
35 | |||
36 | } | 43 | } |
37 | 44 | ||
38 | FutureBase::FutureBase(const Async::FutureBase &other) | 45 | FutureBase::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 | |||