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:
1 parent
c0e5d1bd76
commit
5bff4ed8ab
23 files changed
+103
-60
No files matched your search
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "test.hpp"
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <boost/asio/strand.hpp>
|
||||
|
||||
namespace boost {
|
||||
@@ -637,9 +637,12 @@ public:
|
||||
// breakpoint in asio_handler_invoke to make sure
|
||||
// it is instantiated.
|
||||
boost::asio::io_context ioc;
|
||||
boost::asio::io_service::strand s{ioc};
|
||||
boost::asio::strand<
|
||||
boost::asio::io_context::executor_type> s(
|
||||
ioc.get_executor());
|
||||
stream<test::stream> ws{ioc};
|
||||
ws.async_accept(s.wrap(copyable_handler{}));
|
||||
ws.async_accept(boost::asio::bind_executor(
|
||||
s, copyable_handler{}));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user