From f5bd5bc3d05948b1a692ff2399e585cee55839aa Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 28 Sep 2023 12:52:13 -0700 Subject: [PATCH] Cleanup default-constructiblity check for gcc-4 --- include/boost/unordered/detail/foa/core.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index c856c855..ed235b3c 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -1046,6 +1046,7 @@ struct table_arrays bool, #if BOOST_WORKAROUND(BOOST_LIBSTDCXX_VERSION,<50000) /* std::is_trivially_default_constructible not provided */ + std::is_default_constructible::value&& std::has_trivial_default_constructor::value #else std::is_trivially_default_constructible::value