forked from boostorg/beast
Tidy up warnings and deprecated usage:
fix #1290 * BOOST_ASIO_NO_DEPRECATED=1 is now set * Fix various warnings from the Boost regression test matrix * Fix a bug in advanced servers when checking for a timeout
This commit is contained in:
@@ -32,6 +32,7 @@ auto work = boost::asio::make_work_guard(ioc);
|
||||
std::thread t{[&](){ ioc.run(); }};
|
||||
error_code ec;
|
||||
boost::asio::ip::tcp::socket sock{ioc};
|
||||
boost::ignore_unused(ec);
|
||||
|
||||
{
|
||||
//[ws_snippet_2
|
||||
|
||||
Reference in New Issue
Block a user