|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2008-01-07 16:07:43
Author: danieljames
Date: 2008-01-07 16:07:43 EST (Mon, 07 Jan 2008)
New Revision: 42588
URL: http://svn.boost.org/trac/boost/changeset/42588
Log:
Fix an off by one error.
Text files modified:
trunk/libs/unordered/test/objects/test.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/unordered/test/objects/test.hpp
==============================================================================
--- trunk/libs/unordered/test/objects/test.hpp (original)
+++ trunk/libs/unordered/test/objects/test.hpp 2008-01-07 16:07:43 EST (Mon, 07 Jan 2008)
@@ -302,7 +302,7 @@
BOOST_ERROR("Deallocating unknown pointer.");
} else {
BOOST_TEST(pos->first.start == ptr);
- BOOST_TEST(pos->first.end == (char*) ptr + n * size - 1);
+ BOOST_TEST(pos->first.end == (char*) ptr + n * size);
BOOST_TEST(pos->second.tag_ == tag);
BOOST_TEST(pos->second.constructed_ == 0);
allocated_memory.erase(pos);
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