From ecd9db5c33a81c04c517c8b5b65d9b58ffcce9fd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 30 Dec 2011 05:01:58 +0000 Subject: fixed deprecated call to io_service() in release branch as well --- src/syncServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syncServer.cpp b/src/syncServer.cpp index e4f6434..168633c 100644 --- a/src/syncServer.cpp +++ b/src/syncServer.cpp @@ -109,7 +109,7 @@ void SyncServer::start_accept() std::list::iterator it = acceptors_.begin(); for(;it != acceptors_.end(); ++it) { if(!it->started_) { - SyncTcpConnection::pointer new_connection = SyncTcpConnection::create(it->acceptor_->io_service()); + SyncTcpConnection::pointer new_connection = SyncTcpConnection::create(it->acceptor_->get_io_service()); conns_.push_back(new_connection); it->acceptor_->async_accept(new_connection->socket(), boost::bind(&SyncServer::handle_accept, this, new_connection, boost::asio::placeholders::error, it)); -- cgit v1.2.3