diff options
author | Dan Vrátil <dvratil@redhat.com> | 2014-12-11 18:53:38 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2014-12-12 13:24:11 +0100 |
commit | 5b8b8e4e0471ea904388b3b9c8efd597f9daebea (patch) | |
tree | a1678eb1589876198a7df35ab1a5b3dca3c602b4 /async/src/async.cpp | |
parent | 6b6e2a3ecc1e8f54b0862d66929ed6ace21892e7 (diff) | |
download | sink-5b8b8e4e0471ea904388b3b9c8efd597f9daebea.tar.gz sink-5b8b8e4e0471ea904388b3b9c8efd597f9daebea.zip |
Async: move some more code out-of-line
Diffstat (limited to 'async/src/async.cpp')
-rw-r--r-- | async/src/async.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/async/src/async.cpp b/async/src/async.cpp index 16da384..0b8d7f3 100644 --- a/async/src/async.cpp +++ b/async/src/async.cpp | |||
@@ -28,7 +28,19 @@ | |||
28 | 28 | ||
29 | using namespace Async; | 29 | using namespace Async; |
30 | 30 | ||
31 | JobBase::JobBase(ExecutorBase *executor) | 31 | Private::ExecutorBase::ExecutorBase(ExecutorBase* parent) |
32 | : mPrev(parent) | ||
33 | , mResult(0) | ||
34 | { | ||
35 | } | ||
36 | |||
37 | Private::ExecutorBase::~ExecutorBase() | ||
38 | { | ||
39 | delete mResult; | ||
40 | } | ||
41 | |||
42 | |||
43 | JobBase::JobBase(Private::ExecutorBase *executor) | ||
32 | : mExecutor(executor) | 44 | : mExecutor(executor) |
33 | { | 45 | { |
34 | } | 46 | } |