From a06f11589f1838e20b68c66af64afeee082574a6 Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Sat, 17 Jul 2010 12:25:57 +0000 Subject: [PATCH] Removed invalid comparison of invalidated iterators in the Boost.Range partition test case. [SVN r64088] --- test/algorithm_test/partition.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/algorithm_test/partition.cpp b/test/algorithm_test/partition.cpp index b91f244..0160dae 100644 --- a/test/algorithm_test/partition.cpp +++ b/test/algorithm_test/partition.cpp @@ -47,10 +47,10 @@ namespace boost Container cont2(old_cont); iter_t result = boost::partition(cont, UnaryPredicate()); - iter_t temp_result = boost::partition(cont2, UnaryPredicate()); + boost::partition(cont2, UnaryPredicate()); cont2 = old_cont; - BOOST_CHECK( temp_result == boost::partition( - boost::make_iterator_range(cont2), UnaryPredicate()) ); + boost::partition( + boost::make_iterator_range(cont2), UnaryPredicate()); BOOST_CHECK_EQUAL_COLLECTIONS( cont.begin(), cont.end(), cont2.begin(), cont2.end() );