Commit 1e80fbba authored by james h's avatar james h Committed by Alex Hultman

native_type has been removed from boost (#768)

parent 54e5448f
......@@ -3,7 +3,7 @@
#include <boost/asio.hpp>
typedef boost::asio::ip::tcp::socket::native_type uv_os_sock_t;
typedef boost::asio::ip::tcp::socket::native_handle_type uv_os_sock_t;
static const int UV_READABLE = 1;
static const int UV_WRITABLE = 2;
......@@ -118,7 +118,7 @@ struct Poll {
return !socket;
}
boost::asio::ip::tcp::socket::native_type getFd() {
boost::asio::ip::tcp::socket::native_handle_type getFd() {
return socket ? socket->native_handle() : -1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment