Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52548 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2009-04-22 13:50:21


Author: xushiwei
Date: 2009-04-22 13:50:20 EDT (Wed, 22 Apr 2009)
New Revision: 52548
URL: http://svn.boost.org/trac/boost/changeset/52548

Log:
m_nFreeLimit
Text files modified:
   sandbox/memory/boost/memory/block_pool.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/memory/boost/memory/block_pool.hpp
==============================================================================
--- sandbox/memory/boost/memory/block_pool.hpp (original)
+++ sandbox/memory/boost/memory/block_pool.hpp 2009-04-22 13:50:20 EDT (Wed, 22 Apr 2009)
@@ -77,7 +77,7 @@
 public:
         block_pool_(int cbFreeLimit = INT_MAX)
                 : m_freeList(NULL), m_nFree(0),
- m_nFreeLimit(cbFreeLimit / m_cbBlock + 1)
+ m_nFreeLimit(cbFreeLimit / m_cbBlock)
         {
         }
         ~block_pool_()


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