From 81b8158cca02defbfce5f1d59f06f7448fb5ea57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Thu, 11 Dec 2014 12:24:31 +0100 Subject: Async: move some definitions out-of-line --- async/src/async.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'async/src/async.cpp') 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 @@ using namespace Async; +JobBase::JobBase(JobBase::JobType jobType, JobBase* prev) + : mPrev(prev) + , mResult(0) + , mJobType(jobType) +{ +} + + FutureBase::FutureBase() : mFinished(false) , mWaitLoop(nullptr) { - } FutureBase::FutureBase(const Async::FutureBase &other) @@ -65,3 +72,4 @@ void FutureBase::waitForFinished() delete mWaitLoop; mWaitLoop = 0; } + -- cgit v1.2.3