Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48944 - sandbox/thread_safe_signals/trunk/boost/signals2
From: fmhess_at_[hidden]
Date: 2008-09-24 10:41:31


Author: fmhess
Date: 2008-09-24 10:41:31 EDT (Wed, 24 Sep 2008)
New Revision: 48944
URL: http://svn.boost.org/trac/boost/changeset/48944

Log:
Made predestructible::predestruct protected.

Text files modified:
   sandbox/thread_safe_signals/trunk/boost/signals2/predestructible.hpp | 7 +++++--
   1 files changed, 5 insertions(+), 2 deletions(-)

Modified: sandbox/thread_safe_signals/trunk/boost/signals2/predestructible.hpp
==============================================================================
--- sandbox/thread_safe_signals/trunk/boost/signals2/predestructible.hpp (original)
+++ sandbox/thread_safe_signals/trunk/boost/signals2/predestructible.hpp 2008-09-24 10:41:31 EDT (Wed, 24 Sep 2008)
@@ -18,13 +18,16 @@
 {
   namespace signals2
   {
+ template<typename T> class predestructing_deleter;
+
     class predestructible
     {
- public:
- virtual void predestruct() {}
     protected:
+ template<typename T>
+ friend class predestructing_deleter;
       predestructible() {}
       virtual ~predestructible() {}
+ virtual void predestruct() {}
     };
   }
 }


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