summaryrefslogtreecommitdiffstats
path: root/async/src/async.cpp
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2015-04-10 10:49:58 +0200
committerDan Vrátil <dvratil@redhat.com>2015-04-10 10:49:58 +0200
commit14cf20a4a7165c48df52f1b2c35745e2a47d6b5f (patch)
tree840921460b24344daaf6ee9716f849d55850baa2 /async/src/async.cpp
parente069326a13905e3d3db9db58fbe69afa908063d4 (diff)
downloadsink-14cf20a4a7165c48df52f1b2c35745e2a47d6b5f.tar.gz
sink-14cf20a4a7165c48df52f1b2c35745e2a47d6b5f.zip
Async: fix build
Diffstat (limited to 'async/src/async.cpp')
-rw-r--r--async/src/async.cpp2
1 files changed, 1 insertions, 1 deletions
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()
54 54
55bool Private::Execution::errorWasHandled() const 55bool Private::Execution::errorWasHandled() const
56{ 56{
57 Execution * const exec = this; 57 Execution *exec = const_cast<Execution*>(this);
58 while (exec) { 58 while (exec) {
59 if (exec->executor->hasErrorFunc()) { 59 if (exec->executor->hasErrorFunc()) {
60 return true; 60 return true;