diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 25d2dd75..d6e18c62 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1021,7 +1021,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)); }