From b0c03844016437595bf1b124b62d1ffe41c36586 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Mon, 3 Oct 2022 14:46:19 -0700 Subject: [PATCH] Fix small typo in `increment()` function to silence VS warnings --- 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 f82e89c5..c5e48819 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -643,7 +643,7 @@ private: pc+=sizeof(Group); p+=Group::N; } - while((mask=reinterpret_cast(pc)->match_occupied())!=0); + while((mask=reinterpret_cast(pc)->match_occupied())==0); } auto n=unchecked_countr_zero(mask);