From ad352a6703e062650b7d9bb8fa7a8988ef02d6ef Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Mon, 26 Sep 2022 10:27:22 -0700 Subject: [PATCH] Fix cast warning in mark_overflow() --- 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 ddf2baaa..331ec82b 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -118,7 +118,7 @@ struct group15 inline void mark_overflow(std::size_t hash) { - overflow()|=1<<(hash%8); + overflow()|=static_cast(1<<(hash%8)); } inline int match_available()const