Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56104 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2009-09-08 03:57:02


Author: xushiwei
Date: 2009-09-08 03:57:01 EDT (Tue, 08 Sep 2009)
New Revision: 56104
URL: http://svn.boost.org/trac/boost/changeset/56104

Log:
t
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-09-08 03:57:01 EDT (Tue, 08 Sep 2009)
@@ -197,7 +197,7 @@
 
         __forceinline void* BOOST_MEMORY_CALL allocate(size_t cb)
         {
- BOOST_MEMORY_ASSERT(cb == element_size());
+ BOOST_MEMORY_ASSERT(cb <= element_size());
                 return allocate();
         }
 


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