Fixed Set_InsDel_string test
authorkhizmax <libcds.dev@gmail.com>
Mon, 14 Dec 2015 18:59:08 +0000 (21:59 +0300)
committerkhizmax <libcds.dev@gmail.com>
Mon, 14 Dec 2015 18:59:08 +0000 (21:59 +0300)
tests/unit/set2/set_insdel_string.h

index 3872ca18a6e4986397f645522b36677cd57d06c4..13bd2372d7a876fe51ee0470095d5b3e9e4429fa 100644 (file)
@@ -491,7 +491,7 @@ namespace set2 {
                 );
 
             if ( Set::c_bLoadFactorDepended ) {
-                for ( size_t nLoadFactor = 1; nLoadFactor <= c_nMaxLoadFactor; nLoadFactor *= 2 ) {
+                for ( c_nLoadFactor = 1; c_nLoadFactor <= c_nMaxLoadFactor; c_nLoadFactor *= 2 ) {
                     CPPUNIT_MSG("  LoadFactor = " << c_nLoadFactor );
                     Set s( *this );
                     do_test_extract( s );