diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index 93ca1e9e..7842363e 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -2016,13 +2016,7 @@ private: copy_elements_array_from( x, std::integral_constant< - bool, -#if BOOST_WORKAROUND(BOOST_LIBSTDCXX_VERSION,<50000) - /* std::is_trivially_copy_constructible not provided */ - boost::has_trivial_copy::value -#else - std::is_trivially_copy_constructible::value -#endif + bool,std::is_trivially_copy_constructible::value &&( is_std_allocator::value|| !alloc_has_construct::value) @@ -2066,12 +2060,7 @@ private: void copy_groups_array_from(const table_core& x) { copy_groups_array_from(x, std::integral_constant::value -#else std::is_trivially_copy_assignable::value -#endif >{} ); }