Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53808 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2009-06-12 00:17:20


Author: xushiwei
Date: 2009-06-12 00:17:18 EDT (Fri, 12 Jun 2009)
New Revision: 53808
URL: http://svn.boost.org/trac/boost/changeset/53808

Log:
push_front => push_back
Text files modified:
   sandbox/memory/boost/memory/fixed_alloc.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/memory/boost/memory/fixed_alloc.hpp
==============================================================================
--- sandbox/memory/boost/memory/fixed_alloc.hpp (original)
+++ sandbox/memory/boost/memory/fixed_alloc.hpp 2009-06-12 00:17:18 EDT (Fri, 12 Jun 2009)
@@ -202,7 +202,7 @@
                 BOOST_MEMORY_ASSERT(blk->nUsed > 0 && blk->nUsed <= m_nChunkPerBlock);
                 BOOST_MEMORY_DBG_FILL(p, element_size());
 
- m_freelist.push_front((FreeChunk*)p);
+ m_freelist.push_back((FreeChunk*)p); // NOTE: we don't use push_front! why?
                 if (--blk->nUsed == 0 && blk != m_lastBlock)
                         do_deallocate_block_(blk);
         }


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