Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2007-08-27 14:10:46


Author: danieljames
Date: 2007-08-27 14:10:45 EDT (Mon, 27 Aug 2007)
New Revision: 39012
URL: http://svn.boost.org/trac/boost/changeset/39012

Log:
Fix an incorrect change. This file isn't the main file for the test so it doesn't need to call report_errors, that's done in main.

Text files modified:
   branches/hash/libs/functional/hash/test/link_ext_test.cpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: branches/hash/libs/functional/hash/test/link_ext_test.cpp
==============================================================================
--- branches/hash/libs/functional/hash/test/link_ext_test.cpp (original)
+++ branches/hash/libs/functional/hash/test/link_ext_test.cpp 2007-08-27 14:10:45 EDT (Mon, 27 Aug 2007)
@@ -17,7 +17,6 @@
     std::vector<std::size_t> x;
     x.push_back(*x1);
     HASH_NAMESPACE::hash<std::vector<std::size_t> > vector_hasher;
- BOOST_TEST(vector_hasher(x) == HASH_NAMESPACE::hash_value(x));
- return boost::report_errors();
+ return vector_hasher(x) != HASH_NAMESPACE::hash_value(x);
 }
 


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