From ab84a922cf88954853b48a8bb5125ef0bd4eb23c Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 13 Apr 2023 13:00:29 +0200 Subject: [PATCH] added workaround for lack of std::is_trivially_copy_assignable in GCC<5.0 --- include/boost/unordered/detail/foa/core.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index eff1ccb6..cc66393a 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -1833,7 +1834,12 @@ 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 >{} ); }