From 3df435d4d31af84e1c68e907e5d5f89bbd9bc677 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Fri, 17 Mar 2023 14:17:10 -0700 Subject: [PATCH] Temporarily suppress warning about memset'ing non-trivial types by using a constructor loop --- include/boost/unordered/detail/foa/core.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index f7fdc899..59d1084b 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -910,11 +910,14 @@ struct table_arrays reinterpret_cast(p))%sizeof(group_type); arrays.groups=reinterpret_cast(p); + for (std::size_t i=0;i