We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9e635 commit 58f6b96Copy full SHA for 58f6b96
include/async/algorithm.hpp
@@ -451,7 +451,7 @@ operator co_await(race_and_cancel_sender<Functors...> s) {
451
452
template<typename... Functors>
453
race_and_cancel_sender<Functors...> race_and_cancel(Functors... fs) {
454
- return {{fs...}};
+ return {{std::move(fs)...}};
455
}
456
457
//---------------------------------------------------------------------------------------
0 commit comments