diff options
author | Dan Vrátil <dvratil@redhat.com> | 2015-04-10 10:49:58 +0200 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2015-04-10 10:49:58 +0200 |
commit | 14cf20a4a7165c48df52f1b2c35745e2a47d6b5f (patch) | |
tree | 840921460b24344daaf6ee9716f849d55850baa2 /async/src | |
parent | e069326a13905e3d3db9db58fbe69afa908063d4 (diff) | |
download | sink-14cf20a4a7165c48df52f1b2c35745e2a47d6b5f.tar.gz sink-14cf20a4a7165c48df52f1b2c35745e2a47d6b5f.zip |
Async: fix build
Diffstat (limited to 'async/src')
-rw-r--r-- | async/src/async.cpp | 2 |
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 | ||
55 | bool Private::Execution::errorWasHandled() const | 55 | bool 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; |