Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2007-10-17 01:22:26


Author: chris_kohlhoff
Date: 2007-10-17 01:22:26 EDT (Wed, 17 Oct 2007)
New Revision: 40106
URL: http://svn.boost.org/trac/boost/changeset/40106

Log:
Borland C++ wants friendship for the task_cleanup nested class.

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

Modified: trunk/boost/asio/detail/task_io_service.hpp
==============================================================================
--- trunk/boost/asio/detail/task_io_service.hpp (original)
+++ trunk/boost/asio/detail/task_io_service.hpp 2007-10-17 01:22:26 EDT (Wed, 17 Oct 2007)
@@ -316,6 +316,8 @@
   }
 
   // Helper class to perform task-related operations on block exit.
+ class task_cleanup;
+ friend class task_cleanup;
   class task_cleanup
   {
   public:


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