|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65436 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2010-09-16 06:44:41
Author: xushiwei
Date: 2010-09-16 06:44:37 EDT (Thu, 16 Sep 2010)
New Revision: 65436
URL: http://svn.boost.org/trac/boost/changeset/65436
Log:
1. windows 64bits -- to do
2. class MemoryState;
Text files modified:
sandbox/memory/boost/memory/basic.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/memory/boost/memory/basic.hpp
==============================================================================
--- sandbox/memory/boost/memory/basic.hpp (original)
+++ sandbox/memory/boost/memory/basic.hpp 2010-09-16 06:44:37 EDT (Thu, 16 Sep 2010)
@@ -277,7 +277,7 @@
void BOOST_MEMORY_CALL deallocate(void* p)
{
const Container::iterator it = m_data.find(p);
- BOOST_MEMORY_ASSERT(it != m_data.end() && !"deallocate memory twice!");
+ BOOST_MEMORY_ASSERT(it != m_data.end() || !"deallocate invalid memory address!");
m_data.erase(it);
}
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