Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78662 - trunk/boost/asio/windows
From: chris_at_[hidden]
Date: 2012-05-26 18:16:15


Author: chris_kohlhoff
Date: 2012-05-26 18:16:14 EDT (Sat, 26 May 2012)
New Revision: 78662
URL: http://svn.boost.org/trac/boost/changeset/78662

Log:
Use correct basic_io_object member functions so that basic_object_handle works with c++11 compilers.
Text files modified:
   trunk/boost/asio/windows/basic_object_handle.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/asio/windows/basic_object_handle.hpp
==============================================================================
--- trunk/boost/asio/windows/basic_object_handle.hpp (original)
+++ trunk/boost/asio/windows/basic_object_handle.hpp 2012-05-26 18:16:14 EDT (Sat, 26 May 2012)
@@ -125,7 +125,7 @@
   void wait()
   {
     boost::system::error_code ec;
- this->service.wait(this->implementation, ec);
+ this->get_service().wait(this->get_implementation(), ec);
     boost::asio::detail::throw_error(ec, "wait");
   }
 
@@ -139,7 +139,7 @@
    */
   void wait(boost::system::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.
@@ -161,7 +161,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);
   }
 };
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk