From 8f17f5f548db2b0fb44e597f2327f6cab9ac8fe4 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 11 Mar 2023 18:42:10 +0100 Subject: [PATCH] fixed static_assert --- include/boost/unordered/detail/foa/core.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index f316fab5..5096f5e8 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -609,7 +609,7 @@ struct group15 private: using word_type=IntegralWrapper; - BOOST_STATIC_ASSERT(sizeof(slot_type)==1); + BOOST_STATIC_ASSERT(sizeof(word_type)==8); static constexpr unsigned char available_=0, sentinel_=1;