summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2011-12-30 05:01:58 (GMT)
committerChristian Pointner <equinox@anytun.org>2011-12-30 05:01:58 (GMT)
commitecd9db5c33a81c04c517c8b5b65d9b58ffcce9fd (patch)
tree1d0a47cb5997d1ac471db361c7ead62dabddf87b
parent4475b057f373cf7783cfb439c7b2c448e16edf3e (diff)
fixed deprecated call to io_service() in release branch as well v0.3.3
-rw-r--r--src/syncServer.cpp2
1 files changed, 1 insertions, 1 deletions
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<AcceptorsElement>::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));