From 6110a0827c3096315387a691af6623324aa53abb Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 29 Sep 2022 13:57:16 -0700 Subject: [PATCH] Fix default initialiation warning for clang-3.7, clang-3.8 --- 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 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)); }