@@ -10,11 +10,11 @@ namespace {
1010
1111TEST (EraseIf, FlatHashSet_uint32) {
1212 phmap::flat_hash_set<uint32_t > st1 = { 3 , 6 , 7 , 9 };
13- auto num_erased = std:: erase_if (st1, [](const uint32_t & v) { return v >= 7 ; });
13+ auto num_erased = erase_if (st1, [](const uint32_t & v) { return v >= 7 ; });
1414 EXPECT_TRUE (num_erased == 2 );
1515
1616 phmap::flat_hash_set<uint32_t > st2 = { 0 , 2 , 3 , 6 };
17- num_erased = std:: erase_if (st2, [](const uint32_t & v) { return v <= 2 ; });
17+ num_erased = erase_if (st2, [](const uint32_t & v) { return v <= 2 ; });
1818 EXPECT_TRUE (num_erased == 2 );
1919
2020 EXPECT_TRUE (st1 == st2);
@@ -23,11 +23,11 @@ TEST(EraseIf, FlatHashSet_uint32) {
2323TEST (EraseIf, FlatHashMap_uint64_uint32) {
2424 using map = phmap::flat_hash_map<uint32_t , uint32_t >;
2525 map st1 = { {3 , 0 }, {6 , 0 }, {7 , 0 }, {9 , 0 } };
26- auto num_erased = std:: erase_if (st1, [](const map::value_type& v) { return v.first >= 7 ; });
26+ auto num_erased = erase_if (st1, [](const map::value_type& v) { return v.first >= 7 ; });
2727 EXPECT_TRUE (num_erased == 2 );
2828
2929 map st2 = { {0 , 0 }, {2 , 0 }, {3 , 0 }, {6 , 0 } };
30- num_erased = std:: erase_if (st2, [](const map::value_type& v) { return v.first <= 2 ; });
30+ num_erased = erase_if (st2, [](const map::value_type& v) { return v.first <= 2 ; });
3131 EXPECT_TRUE (num_erased == 2 );
3232
3333 EXPECT_TRUE (st1 == st2);
@@ -36,11 +36,11 @@ TEST(EraseIf, FlatHashMap_uint64_uint32) {
3636TEST (EraseIf, ParallelFlatHashMap_uint64_uint32) {
3737 using map = phmap::parallel_flat_hash_map<uint32_t , uint32_t >;
3838 map st1 = { {3 , 0 }, {6 , 0 }, {7 , 0 }, {9 , 0 } };
39- auto num_erased = std:: erase_if (st1, [](const map::value_type& v) { return v.first >= 7 ; });
39+ auto num_erased = erase_if (st1, [](const map::value_type& v) { return v.first >= 7 ; });
4040 EXPECT_TRUE (num_erased == 2 );
4141
4242 map st2 = { {0 , 0 }, {2 , 0 }, {3 , 0 }, {6 , 0 } };
43- num_erased = std:: erase_if (st2, [](const map::value_type& v) { return v.first <= 2 ; });
43+ num_erased = erase_if (st2, [](const map::value_type& v) { return v.first <= 2 ; });
4444 EXPECT_TRUE (num_erased == 2 );
4545
4646 EXPECT_TRUE (st1 == st2);
0 commit comments