Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71998 - sandbox/block_ptr/boost
From: phil_at_[hidden]
Date: 2011-05-16 16:14:05


Author: pbouchard
Date: 2011-05-16 16:14:04 EDT (Mon, 16 May 2011)
New Revision: 71998
URL: http://svn.boost.org/trac/boost/changeset/71998

Log:
* Removed lock from destructor
Text files modified:
   sandbox/block_ptr/boost/block_ptr.hpp | 4 ----
   1 files changed, 0 insertions(+), 4 deletions(-)

Modified: sandbox/block_ptr/boost/block_ptr.hpp
==============================================================================
--- sandbox/block_ptr/boost/block_ptr.hpp (original)
+++ sandbox/block_ptr/boost/block_ptr.hpp 2011-05-16 16:14:04 EDT (Mon, 16 May 2011)
@@ -400,10 +400,6 @@
 
         ~block_ptr()
         {
-#ifndef BOOST_DISABLE_THREADS
- mutex::scoped_lock scoped_lock(block_header::mutex_);
-#endif
-
                         if (cyclic())
                                 base::po_ = 0;
                         else


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