forked from boostorg/beast
Replace uses of net::spawn with asio::spawn
`asio::spawn` is an extension, which is not part of the Networking TS, so the `net` alias is not appropriate in this case. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
@@ -120,7 +120,7 @@ void
|
||||
enable_yield_to::
|
||||
spawn(F0&& f, FN&&... fn)
|
||||
{
|
||||
net::spawn(ioc_,
|
||||
asio::spawn(ioc_,
|
||||
[&](yield_context yield)
|
||||
{
|
||||
f(yield);
|
||||
|
||||
Reference in New Issue
Block a user