diff --git a/src/corelib/thread/qresultstore.h b/src/corelib/thread/qresultstore.h index af559b7a96..de5c31e91f 100644 --- a/src/corelib/thread/qresultstore.h +++ b/src/corelib/thread/qresultstore.h @@ -152,7 +152,7 @@ public: if (containsValidResultItem(index)) // reject if already present return -1; - return addResult(index, static_cast(new T(std::move_if_noexcept(result)))); + return addResult(index, static_cast(new T(std::move(result)))); } template