Commit cac8fac3 authored by Xavier Thompson's avatar Xavier Thompson

task.hpp: Do some renaming

parent fb3f4b90
...@@ -79,9 +79,9 @@ namespace typon ...@@ -79,9 +79,9 @@ namespace typon
return false; return false;
} }
std::coroutine_handle<> await_suspend(std::coroutine_handle<> awaiting_coroutine) noexcept auto await_suspend(std::coroutine_handle<> continuation) noexcept
{ {
_coroutine.promise()._continuation = awaiting_coroutine; _coroutine.promise()._continuation = continuation;
return _coroutine; return _coroutine;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment