From 19c500de27f9e59c67c208a233399fc279552fdb Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Wed, 28 Sep 2022 13:48:49 -0700 Subject: [PATCH] Silence conversion warning in foa table's emplace_impl() --- 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 3f210014..2ad8e575 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -974,7 +974,7 @@ private: return {it,false}; } else if(BOOST_UNLIKELY(size_>=ml)){ - unchecked_rehash(std::size_t(std::ceil((size_+1)/mlf))); + unchecked_rehash(std::size_t(std::ceil(static_cast(size_+1)/mlf))); pos0=position_for(hash); } return {