summaryrefslogtreecommitdiffstats
path: root/async/src
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2015-04-10 10:55:06 +0200
committerDan Vrátil <dvratil@redhat.com>2015-04-10 10:55:06 +0200
commitf87c777c3c9e4fe9ca4c685363db572f1dce25e2 (patch)
tree411ea1c822f5f19036ad7d87a06a3c7580282559 /async/src
parent14cf20a4a7165c48df52f1b2c35745e2a47d6b5f (diff)
downloadsink-f87c777c3c9e4fe9ca4c685363db572f1dce25e2.tar.gz
sink-f87c777c3c9e4fe9ca4c685363db572f1dce25e2.zip
Async: fix build for real this time
Diffstat (limited to 'async/src')
-rw-r--r--async/src/future.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/async/src/future.h b/async/src/future.h
index bce00bb..ff199ef 100644
--- a/async/src/future.h
+++ b/async/src/future.h
@@ -107,7 +107,7 @@ public:
107 QEventLoop eventLoop; 107 QEventLoop eventLoop;
108 QObject::connect(&watcher, &Async::FutureWatcher<T>::futureReady, 108 QObject::connect(&watcher, &Async::FutureWatcher<T>::futureReady,
109 &eventLoop, &QEventLoop::quit); 109 &eventLoop, &QEventLoop::quit);
110 watcher.setFuture(*static_cast<Async::Future<T>*>(this)); 110 watcher.setFuture(*static_cast<const Async::Future<T>*>(this));
111 eventLoop.exec(); 111 eventLoop.exec();
112 } 112 }
113 113