mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-29 00:46:17 +02:00
moved compatibility stuff into compat.h
This commit is contained in:
parent
d0a22c0d3c
commit
87b1857d8a
2 changed files with 6 additions and 5 deletions
|
@ -19,7 +19,7 @@
|
|||
#include <iostream>
|
||||
#include <mutex>
|
||||
#include "clientConnection.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/compat.h"
|
||||
#include "common/snapException.h"
|
||||
#include "message/hello.h"
|
||||
#include "common/log.h"
|
||||
|
@ -57,7 +57,7 @@ void ClientConnection::socketRead(void* _to, size_t _bytes)
|
|||
void ClientConnection::start()
|
||||
{
|
||||
tcp::resolver resolver(io_service_);
|
||||
tcp::resolver::query query(tcp::v4(), host_, utl::to_string(port_), asio::ip::resolver_query_base::numeric_service);
|
||||
tcp::resolver::query query(tcp::v4(), host_, cpt::to_string(port_), asio::ip::resolver_query_base::numeric_service);
|
||||
auto iterator = resolver.resolve(query);
|
||||
logO << "Connecting\n";
|
||||
socket_.reset(new tcp::socket(io_service_));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue