mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06:44 +08:00
Move the arguments out of a ready continuable with multiple arguments
This commit is contained in:
parent
f091cbb079
commit
83f736a93f
@ -853,7 +853,7 @@ constexpr auto make_ready_continuable(FirstResult&& first_result,
|
|||||||
std::forward<Rest>(rest)...)](
|
std::forward<Rest>(rest)...)](
|
||||||
auto&& promise) mutable {
|
auto&& promise) mutable {
|
||||||
detail::traits::unpack(std::forward<decltype(promise)>(promise),
|
detail::traits::unpack(std::forward<decltype(promise)>(promise),
|
||||||
result);
|
std::move(result));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user