Replace uses of net::coroutine with asio::coroutine

`asio::coroutine` 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:
Damian Jarek
2019-06-19 17:53:35 +02:00
parent a0d5baf22a
commit f10dc38ae6
17 changed files with 31 additions and 30 deletions
@@ -48,7 +48,7 @@ fail(beast::error_code ec, char const* what)
// Echoes back all received WebSocket messages
class session
: public net::coroutine
: public boost::asio::coroutine
, public std::enable_shared_from_this<session>
{
websocket::stream<beast::ssl_stream<beast::tcp_stream>> ws_;
@@ -164,7 +164,7 @@ public:
// Accepts incoming connections and launches the sessions
class listener
: public net::coroutine
: public boost::asio::coroutine
, public std::enable_shared_from_this<listener>
{
net::io_context& ioc_;