From: Jonathan Wakely Date: Thu, 30 Jul 2020 17:41:47 +0000 (+0100) Subject: libstdc++: Fix tests using wrong allocator type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=357beca8bce179315bdf112c0f1df20ff5874f39;p=gcc.git 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. --- 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 b7c0d802125..8511cb95421 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 d60a81ffb7c..44db4aec6cf 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");