From 7a191e551efe9dc25332f23b2513e53b61c1d153 Mon Sep 17 00:00:00 2001 From: khizmax Date: Wed, 1 Jun 2016 08:21:14 +0300 Subject: [PATCH] Fixed gcc 4.8 incompatibility --- test/unit/list/test_kv_list_nogc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.34.1