diff options
Diffstat (limited to 'libcxx/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libcxx/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp b/libcxx/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp index 9f534887938..ffc71b0eeb9 100644 --- a/libcxx/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.special/swap_noexcept.pass.cpp @@ -35,9 +35,7 @@ struct some_comp some_comp() {} some_comp(const some_comp&) {} - void deallocate(void*, unsigned) {} - - typedef std::true_type propagate_on_container_swap; + bool operator()(const T&, const T&) const { return false; } }; template <class T> @@ -47,8 +45,7 @@ struct some_comp2 some_comp2() {} some_comp2(const some_comp2&) {} - void deallocate(void*, unsigned) {} - typedef std::true_type propagate_on_container_swap; + bool operator()(const T&, const T&) const { return false; } }; #if TEST_STD_VER >= 14 |