diff --git a/src/corelib/thread/qfuture_impl.h b/src/corelib/thread/qfuture_impl.h index 01afa64cd6e..088d280e8fe 100644 --- a/src/corelib/thread/qfuture_impl.h +++ b/src/corelib/thread/qfuture_impl.h @@ -361,7 +361,7 @@ protected: QFuture parentFuture; QThreadPool *threadPool = nullptr; QRunnable *runObj = nullptr; - Type type; + const Type type; }; #ifndef QT_NO_EXCEPTIONS