From e6fa043b2d9cecafcedc5d1b090db5b636c9a0b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Dumont?= Date: Mon, 24 Sep 2012 19:48:06 +0000 Subject: [PATCH] 41975.cc: Use __uset_hashtable rather than removed __unordered_set. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2012-09-24 François Dumont * testsuite/performance/23_containers/insert_erase/41975.cc: Use __uset_hashtable rather than removed __unordered_set. From-SVN: r191678 --- libstdc++-v3/ChangeLog | 5 +++++ .../performance/23_containers/insert_erase/41975.cc | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 70ee2a88e1b..920bd33e96c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2012-09-24 François Dumont + + * testsuite/performance/23_containers/insert_erase/41975.cc: Use + __uset_hashtable rather than removed __unordered_set. + 2012-09-23 Paolo Carlini Revert: diff --git a/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc b/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc index a5dae41dc60..286a045d8da 100644 --- a/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc +++ b/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc @@ -40,8 +40,9 @@ namespace const int nb = 200000; start_counters(time, resource); - std::__unordered_set, std::equal_to, - std::allocator, use_cache> us; + std::__uset_hashtable, std::equal_to, + std::allocator, + std::__uset_traits> us; for (int i = 0; i != nb; ++i) us.insert(i); @@ -125,9 +126,10 @@ namespace start_counters(time, resource); - std::__unordered_set, - std::equal_to, - std::allocator, use_cache> us; + std::__uset_hashtable, + std::equal_to, + std::allocator, + std::__uset_traits> us; for (int i = 0; i != nb; ++i) us.insert(strs[i]); -- 2.30.2