Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58445 - sandbox/memory/boost/memory/container
From: xushiweizh_at_[hidden]
Date: 2009-12-18 01:34:26


Author: xushiwei
Date: 2009-12-18 01:34:25 EST (Fri, 18 Dec 2009)
New Revision: 58445
URL: http://svn.boost.org/trac/boost/changeset/58445

Log:
dcl_list::clear - bug fix
Text files modified:
   sandbox/memory/boost/memory/container/dcl_list.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/memory/boost/memory/container/dcl_list.hpp
==============================================================================
--- sandbox/memory/boost/memory/container/dcl_list.hpp (original)
+++ sandbox/memory/boost/memory/container/dcl_list.hpp 2009-12-18 01:34:25 EST (Fri, 18 Dec 2009)
@@ -193,7 +193,7 @@
 
         __forceinline void BOOST_MEMORY_CALL clear()
         {
- m_next = m_prev = this;
+ dcl_list_node_base::erase();
         }
 
         void BOOST_MEMORY_CALL pop_front()


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