1 rc/http_server.cpp:34:46: error: no member named 'get_io_service' in
2 'boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::executor>'
3 socket_ptr socket(new tcp::socket(acceptor_.get_io_service()));
5 src/server.cpp:40:47: error: no member named 'get_io_service' in
6 'boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::executor>'
7 socket_ptr socket(new tcp::socket(acceptor_.get_io_service()));
10 --- src/http_server.cpp.orig 2012-12-08 22:36:13 UTC
11 +++ src/http_server.cpp
12 @@ -31,7 +31,11 @@ web_server::web_server(boost::asio::io_service& io_ser
14 void web_server::start_accept()
16 +#if BOOST_VERSION < 107000
17 socket_ptr socket(new tcp::socket(acceptor_.get_io_service()));
19 + socket_ptr socket(new tcp::socket(acceptor_.get_executor()));
21 acceptor_.async_accept(*socket, boost::bind(&web_server::handle_accept, this, socket, boost::asio::placeholders::error));
24 --- src/server.cpp.orig 2012-12-08 22:36:13 UTC
26 @@ -37,7 +37,11 @@ class server (public)
30 +#if BOOST_VERSION < 107000
31 socket_ptr socket(new tcp::socket(acceptor_.get_io_service()));
33 + socket_ptr socket(new tcp::socket(acceptor_.get_executor()));
35 acceptor_.async_accept(*socket, boost::bind(&server::handle_accept, this, socket, boost::asio::placeholders::error));