summaryrefslogtreecommitdiffstats
path: root/async/src/async.cpp
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2014-12-11 18:53:38 +0100
committerDan Vrátil <dvratil@redhat.com>2014-12-12 13:24:11 +0100
commit5b8b8e4e0471ea904388b3b9c8efd597f9daebea (patch)
treea1678eb1589876198a7df35ab1a5b3dca3c602b4 /async/src/async.cpp
parent6b6e2a3ecc1e8f54b0862d66929ed6ace21892e7 (diff)
downloadsink-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.cpp14
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
29using namespace Async; 29using namespace Async;
30 30
31JobBase::JobBase(ExecutorBase *executor) 31Private::ExecutorBase::ExecutorBase(ExecutorBase* parent)
32 : mPrev(parent)
33 , mResult(0)
34{
35}
36
37Private::ExecutorBase::~ExecutorBase()
38{
39 delete mResult;
40}
41
42
43JobBase::JobBase(Private::ExecutorBase *executor)
32 : mExecutor(executor) 44 : mExecutor(executor)
33{ 45{
34} 46}