Move the arguments out of a ready continuable with multiple arguments

This commit is contained in:
Denis Blank 2018-03-13 16:15:50 +01:00
parent f091cbb079
commit 83f736a93f

View File

@ -853,7 +853,7 @@ constexpr auto make_ready_continuable(FirstResult&& first_result,
std::forward<Rest>(rest)...)](
auto&& promise) mutable {
detail::traits::unpack(std::forward<decltype(promise)>(promise),
result);
std::move(result));
});
}