diff options
Diffstat (limited to 'src/syncTcpConnection.cpp')
-rw-r--r-- | src/syncTcpConnection.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/syncTcpConnection.cpp b/src/syncTcpConnection.cpp index d243633..08875c7 100644 --- a/src/syncTcpConnection.cpp +++ b/src/syncTcpConnection.cpp @@ -48,10 +48,10 @@ void SyncTcpConnection::start() void SyncTcpConnection::Send(std::string message) { - boost::asio::async_write(socket_, boost::asio::buffer(message), - boost::bind(&SyncTcpConnection::handle_write, shared_from_this(), - boost::asio::placeholders::error, - boost::asio::placeholders::bytes_transferred)); + boost::asio::async_write(socket_, boost::asio::buffer(message), + boost::bind(&SyncTcpConnection::handle_write, shared_from_this(), + boost::asio::placeholders::error, + boost::asio::placeholders::bytes_transferred)); } SyncTcpConnection::SyncTcpConnection(boost::asio::io_service& io_service) : socket_(io_service) |