diff --git a/src/corelib/thread/qfuture_impl.h b/src/corelib/thread/qfuture_impl.h index 5af37b970e7..90abb99d8e8 100644 --- a/src/corelib/thread/qfuture_impl.h +++ b/src/corelib/thread/qfuture_impl.h @@ -150,7 +150,7 @@ auto createTuple(Arg &&arg, Args &&... args) constexpr auto Size = sizeof...(Args); // One less than the size of all arguments if constexpr (QtPrivate::IsPrivateSignalArg>) { if constexpr (Size == 1) { - return std::move(arg); + return std::forward(arg); } else { return cutTuple(std::make_tuple(std::forward(arg), std::forward(args)...), std::make_index_sequence());