diff --git a/src/libs/utils/async.h b/src/libs/utils/async.h index c3caec5d3ad..76e4f01aa40 100644 --- a/src/libs/utils/async.h +++ b/src/libs/utils/async.h @@ -171,6 +171,7 @@ public: QFuture future() const { return m_watcher.future(); } ResultType result() const { return m_watcher.result(); } + ResultType takeResult() const { return m_watcher.future().takeResult(); } ResultType resultAt(int index) const { return m_watcher.resultAt(index); } QList results() const { return future().results(); } bool isResultAvailable() const { return future().resultCount(); }