From 984cf13afd0e6072deed13142d79b348e68aa26e Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 30 Sep 2022 16:15:11 +0200 Subject: [PATCH] reintroduced 6110a0827c3096315387a691af6623324aa53abb with a slightly different syntax (prior caused ICEs on GCC11) --- include/boost/unordered/detail/foa.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index eb9bdb65..29aab28e 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1022,7 +1022,7 @@ private: static group_type* dummy_groups()noexcept { - static constexpr group_type::dummy_group_type storage[size_policy::min_size()]; + static constexpr group_type::dummy_group_type storage[size_policy::min_size()]={}; return reinterpret_cast( const_cast(storage)); }