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.
This commit is contained in:
parent
cf5d0fc2d1
commit
357beca8bc
|
@ -62,7 +62,7 @@ template<typename _Tp>
|
|||
};
|
||||
|
||||
using type4 = std::unordered_multiset<int, std::hash<int>, std::equal_to<int>,
|
||||
not_noexcept_dflt_cons_alloc<std::pair<const int, int>>>;
|
||||
not_noexcept_dflt_cons_alloc<int>>;
|
||||
|
||||
static_assert(!std::is_nothrow_default_constructible<type4>::value,
|
||||
"not noexcept default constructible");
|
||||
|
|
|
@ -62,7 +62,7 @@ template<typename _Tp>
|
|||
};
|
||||
|
||||
using type4 = std::unordered_set<int, std::hash<int>, std::equal_to<int>,
|
||||
not_noexcept_dflt_cons_alloc<std::pair<const int, int>>>;
|
||||
not_noexcept_dflt_cons_alloc<int>>;
|
||||
|
||||
static_assert(!std::is_nothrow_default_constructible<type4>::value,
|
||||
"not noexcept default constructible");
|
||||
|
|
Loading…
Reference in New Issue