From 2e3a8a0fc01c739211e532633bbbf223ad567189 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 3 Oct 2022 21:05:48 +0200 Subject: [PATCH] avoided VS warning C4706 --- 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 7a53c38f..f82e89c5 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())); + while((mask=reinterpret_cast(pc)->match_occupied())!=0); } auto n=unchecked_countr_zero(mask);