summaryrefslogtreecommitdiffstats
path: root/async/src
diff options
context:
space:
mode:
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