From: khizmax Date: Mon, 26 Oct 2015 18:59:53 +0000 (+0300) Subject: Fixed an error in EllenBinTreeMap ST-test X-Git-Tag: v2.1.0~78 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=09c3d58bb162bb192109022130c5d02046e08bd1;p=libcds.git Fixed an error in EllenBinTreeMap ST-test --- diff --git a/tests/test-hdr/tree/hdr_ellenbintree_map.h b/tests/test-hdr/tree/hdr_ellenbintree_map.h index a798b375..f44bfb20 100644 --- a/tests/test-hdr/tree/hdr_ellenbintree_map.h +++ b/tests/test-hdr/tree/hdr_ellenbintree_map.h @@ -260,7 +260,7 @@ namespace tree { CPPUNIT_ASSERT( !updateResult.first ); CPPUNIT_ASSERT( !updateResult.second ); CPPUNIT_ASSERT( !m.contains(27) ); - updateResult = m.update( 27, insert_functor(), false ) ; // value = 54 + updateResult = m.update( 27, insert_functor(), true ) ; // value = 54 CPPUNIT_ASSERT( updateResult.first ); CPPUNIT_ASSERT( updateResult.second ); CPPUNIT_ASSERT( m.contains(27) );