|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71689 - sandbox/block_ptr/boost
From: phil_at_[hidden]
Date: 2011-05-03 00:19:47
Author: pbouchard
Date: 2011-05-03 00:19:44 EDT (Tue, 03 May 2011)
New Revision: 71689
URL: http://svn.boost.org/trac/boost/changeset/71689
Log:
* Removed unneccessary mutex
Text files modified:
sandbox/block_ptr/boost/block_ptr.hpp | 3 ---
1 files changed, 0 insertions(+), 3 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-03 00:19:44 EDT (Tue, 03 May 2011)
@@ -101,9 +101,6 @@
if (-- p->count_ == 0)
{
-#ifndef BOOST_DISABLE_THREADS
- mutex::scoped_lock scoped_lock(mutex_);
-#endif
p->destroy_ = true;
for (intrusive_list::iterator<block_base, & block_base::block_tag_> i; i = p->elements_.begin(), i != p->elements_.end(); )
delete &* i;
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