From: khizmax Date: Wed, 1 Jun 2016 05:21:14 +0000 (+0300) Subject: Fixed gcc 4.8 incompatibility X-Git-Tag: v2.2.0~238 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7a191e551efe9dc25332f23b2513e53b61c1d153;p=libcds.git Fixed gcc 4.8 incompatibility --- diff --git a/test/unit/list/test_kv_list_nogc.h b/test/unit/list/test_kv_list_nogc.h index aff834af..26352e05 100644 --- a/test/unit/list/test_kv_list_nogc.h +++ b/test/unit/list/test_kv_list_nogc.h @@ -167,7 +167,7 @@ namespace cds_test { ASSERT_CONTAINER_SIZE( l, 0 ); // insert/find - for ( auto const& i : arr ) { + for ( key_val const& i : arr ) { EXPECT_TRUE( l.contains( i.key ) == l.end()); EXPECT_TRUE( l.contains( key_type( i.key )) == l.end()); EXPECT_TRUE( l.contains( other_key( i.key ), other_less()) == l.end());