Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54844 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2009-07-09 18:55:26


Author: chris_kohlhoff
Date: 2009-07-09 18:55:26 EDT (Thu, 09 Jul 2009)
New Revision: 54844
URL: http://svn.boost.org/trac/boost/changeset/54844

Log:
Fix task initialisation.

Text files modified:
   trunk/boost/asio/detail/task_io_service_2lock.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/asio/detail/task_io_service_2lock.hpp
==============================================================================
--- trunk/boost/asio/detail/task_io_service_2lock.hpp (original)
+++ trunk/boost/asio/detail/task_io_service_2lock.hpp 2009-07-09 18:55:26 EDT (Thu, 09 Jul 2009)
@@ -50,7 +50,7 @@
     : boost::asio::detail::service_base<task_io_service<Task> >(io_service),
       front_mutex_(),
       back_mutex_(),
- task_(&use_service<Task>(io_service)),
+ task_(0),
       outstanding_work_(0),
       front_stopped_(false),
       back_stopped_(false),


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