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:
Damian Jarek
2019-06-19 17:53:35 +02:00
parent f10dc38ae6
commit 8d5bd286d7
13 changed files with 20 additions and 19 deletions
@@ -153,7 +153,7 @@ int main(int argc, char** argv)
load_root_certificates(ctx);
// Launch the asynchronous operation
net::spawn(ioc, std::bind(
boost::asio::spawn(ioc, std::bind(
&do_session,
std::string(host),
std::string(port),
@@ -132,7 +132,7 @@ int main(int argc, char** argv)
net::io_context ioc;
// Launch the asynchronous operation
net::spawn(ioc, std::bind(
boost::asio::spawn(ioc, std::bind(
&do_session,
std::string(host),
std::string(port),