From 357beca8bce179315bdf112c0f1df20ff5874f39 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 30 Jul 2020 18:41:47 +0100 Subject: [PATCH] libstdc++: Fix tests using wrong allocator type libstdc++-v3/ChangeLog: * testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc: Use allocator with the correct value type. * testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc: Likewise. --- .../23_containers/unordered_multiset/cons/noexcept_default_construct.cc | 2 +- .../23_containers/unordered_set/cons/noexcept_default_construct.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc index b7c0d80..8511cb9 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc @@ -62,7 +62,7 @@ template }; using type4 = std::unordered_multiset, std::equal_to, - not_noexcept_dflt_cons_alloc>>; + not_noexcept_dflt_cons_alloc>; static_assert(!std::is_nothrow_default_constructible::value, "not noexcept default constructible"); diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc index d60a81f..44db4ae 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc @@ -62,7 +62,7 @@ template }; using type4 = std::unordered_set, std::equal_to, - not_noexcept_dflt_cons_alloc>>; + not_noexcept_dflt_cons_alloc>; static_assert(!std::is_nothrow_default_constructible::value, "not noexcept default constructible"); -- 2.7.4