mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 15:46:42 +02:00
Cleanup namespaces
This commit is contained in:
parent
d9bdd1b6c0
commit
e7f1519ab2
7 changed files with 9 additions and 6 deletions
|
@ -47,6 +47,8 @@
|
|||
#include "common/version.hpp"
|
||||
// #include "metadata.hpp"
|
||||
|
||||
#include <boost/asio/signal_set.hpp>
|
||||
#include <boost/asio/ip/host_name.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace popl;
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
#include <set>
|
||||
#include <string>
|
||||
|
||||
using boost::asio::ip::tcp;
|
||||
namespace net = boost::asio;
|
||||
|
||||
|
||||
class ControlSession;
|
||||
class StreamSession;
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp>
|
||||
|
||||
static constexpr auto LOG_TAG = "ControlSessionHTTP";
|
||||
|
||||
|
|
|
@ -31,10 +31,10 @@
|
|||
#endif
|
||||
#include <deque>
|
||||
|
||||
using boost::asio::ip::tcp;
|
||||
|
||||
namespace beast = boost::beast; // from <boost/beast.hpp>
|
||||
namespace http = beast::http; // from <boost/beast/http.hpp>
|
||||
namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp>
|
||||
namespace net = boost::asio; // from <boost/asio.hpp>
|
||||
|
||||
|
||||
/// Endpoint for a connected control client.
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
#include "control_session.hpp"
|
||||
#include <deque>
|
||||
|
||||
using boost::asio::ip::tcp;
|
||||
namespace net = boost::asio;
|
||||
|
||||
/// Endpoint for a connected control client.
|
||||
/**
|
||||
* Endpoint for a connected control client.
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <deque>
|
||||
|
||||
namespace beast = boost::beast; // from <boost/beast.hpp>
|
||||
namespace http = beast::http; // from <boost/beast/http.hpp>
|
||||
namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp>
|
||||
namespace net = boost::asio; // from <boost/asio.hpp>
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "common/aixlog.hpp"
|
||||
#include "config.hpp"
|
||||
|
||||
#include <boost/asio/ip/host_name.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace popl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue