mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 09:16:46 +08:00
Fix a conditional move
This commit is contained in:
parent
0f242df1a6
commit
64c03b818d
@ -433,7 +433,7 @@ auto chain_continuation(Continuation&& continuation, Callback&& callback,
|
|||||||
// Invoke the continuation with a proxy callback.
|
// Invoke the continuation with a proxy callback.
|
||||||
// The proxy callback is responsible for passing
|
// The proxy callback is responsible for passing
|
||||||
// the result to the callback as well as decorating it.
|
// the result to the callback as well as decorating it.
|
||||||
attorney::invoke_continuation(std::forward<Continuation>(continuation),
|
attorney::invoke_continuation(std::move(continuation),
|
||||||
std::move(proxy));
|
std::move(proxy));
|
||||||
},
|
},
|
||||||
next_hint, ownership_);
|
next_hint, ownership_);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user