diff --git a/src/corelib/thread/qfuture_impl.h b/src/corelib/thread/qfuture_impl.h index 4c68a527da..5af37b970e 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 arg; + return std::move(arg); } else { return cutTuple(std::make_tuple(std::forward(arg), std::forward(args)...), std::make_index_sequence());