diff --git a/src/corelib/thread/qpromise.h b/src/corelib/thread/qpromise.h index 24b0cd1e801..afe51e07d0c 100644 --- a/src/corelib/thread/qpromise.h +++ b/src/corelib/thread/qpromise.h @@ -112,7 +112,7 @@ public: bool addResult(T &&result, int index = -1) { } #endif private: - mutable QFutureInterface d = QFutureInterface(); + mutable QFutureInterface d; }; template