diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-08-04 14:36:22 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-08-04 14:36:22 +0200 |
commit | 2c01957dfe1135955627cbbbffddc70d090d2656 (patch) | |
tree | bd4da7aac59eb33ea2487f3ee078920dfcc07f1b /httpd.cpp | |
parent | a83e2311dafcba608254ee31a6c0fee66c505eef (diff) |
Fix compiling with Boost 1.47.0.
Diffstat (limited to 'httpd.cpp')
-rw-r--r-- | httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } |