From 2c01957dfe1135955627cbbbffddc70d090d2656 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 4 Aug 2011 14:36:22 +0200 Subject: Fix compiling with Boost 1.47.0. --- httpd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httpd.cpp') diff --git a/httpd.cpp b/httpd.cpp index e8d8a2c..d88efb8 100644 --- a/httpd.cpp +++ b/httpd.cpp @@ -11,7 +11,7 @@ void HTTP::Server::add_handler(const std::string& name, Handler handler) { } void HTTP::Server::start_accept() { - Connection::p new_connection = Connection::p(new Connection(acceptor_.io_service())); + Connection::p new_connection = Connection::p(new Connection(acceptor_.get_io_service())); acceptor_.async_accept(new_connection->socket, boost::bind(&Server::handle_accept, this, new_connection, boost::asio::placeholders::error)); } -- cgit v1.2.3