Use correct basic_io_object member functions so that basic_object_handle works with c++11 compilers.
diff --git a/asio/include/asio/windows/basic_object_handle.hpp b/asio/include/asio/windows/basic_object_handle.hpp index c753a3a..bb73dc3 100644 --- a/asio/include/asio/windows/basic_object_handle.hpp +++ b/asio/include/asio/windows/basic_object_handle.hpp
@@ -124,7 +124,7 @@ void wait() { asio::error_code ec; - this->service.wait(this->implementation, ec); + this->get_service().wait(this->get_implementation(), ec); asio::detail::throw_error(ec, "wait"); } @@ -138,7 +138,7 @@ */ void wait(asio::error_code& ec) { - this->service.wait(this->implementation, ec); + this->get_service().wait(this->get_implementation(), ec); } /// Start an asynchronous wait on the object handle. @@ -160,7 +160,7 @@ template <typename WaitHandler> void async_wait(WaitHandler handler) { - this->service.async_wait(this->implementation, handler); + this->get_service().async_wait(this->get_implementation(), handler); } };