make_strand is in net::

This commit is contained in:
Vinnie Falco
2019-03-02 07:33:57 -08:00
parent dfd3752c23
commit fca4b3ae10
32 changed files with 58 additions and 121 deletions
@@ -62,7 +62,7 @@ run()
{
// The new connection gets its own strand
acceptor_.async_accept(
beast::make_strand(ioc_),
net::make_strand(ioc_),
beast::bind_front_handler(
&listener::on_accept,
shared_from_this()));
@@ -94,7 +94,7 @@ on_accept(beast::error_code ec, tcp::socket socket)
// The new connection gets its own strand
acceptor_.async_accept(
beast::make_strand(ioc_),
net::make_strand(ioc_),
beast::bind_front_handler(
&listener::on_accept,
shared_from_this()));