From 14cf20a4a7165c48df52f1b2c35745e2a47d6b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Fri, 10 Apr 2015 10:49:58 +0200 Subject: Async: fix build --- async/src/async.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'async/src/async.cpp') diff --git a/async/src/async.cpp b/async/src/async.cpp index c780878..6f28084 100644 --- a/async/src/async.cpp +++ b/async/src/async.cpp @@ -54,7 +54,7 @@ void Private::Execution::releaseFuture() bool Private::Execution::errorWasHandled() const { - Execution * const exec = this; + Execution *exec = const_cast(this); while (exec) { if (exec->executor->hasErrorFunc()) { return true; -- cgit v1.2.3