Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2007-12-08 10:47:12


Author: danieljames
Date: 2007-12-08 10:47:12 EST (Sat, 08 Dec 2007)
New Revision: 41887
URL: http://svn.boost.org/trac/boost/changeset/41887

Log:
Got a couple of assertions the wrong way round.
Text files modified:
   sandbox-branches/unordered-refactor/boost/unordered/detail/hash_table_impl.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox-branches/unordered-refactor/boost/unordered/detail/hash_table_impl.hpp
==============================================================================
--- sandbox-branches/unordered-refactor/boost/unordered/detail/hash_table_impl.hpp (original)
+++ sandbox-branches/unordered-refactor/boost/unordered/detail/hash_table_impl.hpp 2007-12-08 10:47:12 EST (Sat, 08 Dec 2007)
@@ -764,7 +764,7 @@
 
             iterator_base create_node(value_type const& v, iterator_base position)
             {
- BOOST_ASSERT(!BOOST_UNORDERED_HASH_EQUIVALENT);
+ BOOST_ASSERT(BOOST_UNORDERED_HASH_EQUIVALENT);
 
                 // throws, strong exception-safety:
                 link_ptr n = construct_node(v);
@@ -777,7 +777,7 @@
             iterator_base create_node(value_type const& v,
                     bucket_ptr base, local_iterator_base position)
             {
- BOOST_ASSERT(!BOOST_UNORDERED_HASH_EQUIVALENT);
+ BOOST_ASSERT(BOOST_UNORDERED_HASH_EQUIVALENT);
 
                 // throws, strong exception-safety:
                 link_ptr n = construct_node(v);


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