mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 18:31:45 +02:00
Use namespace "boost::asio" instead of "net"
This commit is contained in:
parent
989eb6ec8e
commit
4f29f000de
16 changed files with 79 additions and 74 deletions
|
@ -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_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue