Commit 79677d12 authored by Tom Niget's avatar Tom Niget

Add return_void to Task

parent 285703a3
......@@ -138,7 +138,14 @@ namespace typon
_coroutine.promise()._continuation = std::noop_coroutine();
_coroutine.resume();
}
void return_void() noexcept = delete;
};
template <>
void Task<void>::return_void() noexcept
{
}
}
......
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