Use namespace "boost::asio" instead of "net"

This commit is contained in:
badaix 2022-01-30 22:07:13 +01:00
parent 989eb6ec8e
commit 4f29f000de
16 changed files with 79 additions and 74 deletions

View file

@ -29,9 +29,9 @@
// standard headers
#include <deque>
namespace beast = boost::beast; // from <boost/beast.hpp>
namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp>
namespace net = boost::asio; // from <boost/asio.hpp>
/// Endpoint for a connected control client.
@ -62,7 +62,7 @@ protected:
protected:
beast::flat_buffer buffer_;
net::strand<net::any_io_executor> strand_;
boost::asio::strand<boost::asio::any_io_executor> strand_;
std::deque<std::string> messages_;
};