Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81364 - trunk/boost/lockfree/detail
From: tim_at_[hidden]
Date: 2012-11-16 06:14:39


Author: timblechmann
Date: 2012-11-16 06:14:39 EST (Fri, 16 Nov 2012)
New Revision: 81364
URL: http://svn.boost.org/trac/boost/changeset/81364

Log:
lockfree: declare freelist::deallocate as protected
Text files modified:
   trunk/boost/lockfree/detail/freelist.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/lockfree/detail/freelist.hpp
==============================================================================
--- trunk/boost/lockfree/detail/freelist.hpp (original)
+++ trunk/boost/lockfree/detail/freelist.hpp 2012-11-16 06:14:39 EST (Fri, 16 Nov 2012)
@@ -203,6 +203,7 @@
         return reinterpret_cast<T*>(ptr);
     }
 
+protected:
     template <bool ThreadSafe>
     void deallocate (T * n)
     {
@@ -212,6 +213,7 @@
             deallocate_impl_unsafe(n);
     }
 
+private:
     void deallocate_impl (T * n)
     {
         void * node = n;


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