From d2dc503e4aedd4798b4453aed18011ce209dd458 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 31 Aug 2023 13:35:25 -0700 Subject: [PATCH] Remove BOOST_NO_CXX11_DEFAULTED_FUNCTIONS --- test/objects/cxx11_allocator.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/objects/cxx11_allocator.hpp b/test/objects/cxx11_allocator.hpp index 4ca0cc62..62491824 100644 --- a/test/objects/cxx11_allocator.hpp +++ b/test/objects/cxx11_allocator.hpp @@ -182,9 +182,7 @@ namespace test ~cxx11_allocator_base() { detail::tracker.allocator_unref(); } -#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) cxx11_allocator_base& operator=(cxx11_allocator_base const& x) = default; -#endif pointer address(reference r) { return pointer(&r); } @@ -263,9 +261,7 @@ namespace test cxx11_allocator(cxx11_allocator const& x) : cxx11_allocator_base(x) {} -#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) cxx11_allocator& operator=(cxx11_allocator const& x) = default; -#endif // When not propagating swap, allocators are always equal // to avoid undefined behaviour. @@ -310,9 +306,7 @@ namespace test cxx11_allocator(cxx11_allocator const& x) : cxx11_allocator_base(x) {} -#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) cxx11_allocator& operator=(cxx11_allocator const& x) = default; -#endif // When not propagating swap, allocators are always equal // to avoid undefined behaviour.