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);