From 00a9266096b35d6e5cbb717d17e00c674d08b23c Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 27 Oct 2022 18:41:21 +0200 Subject: [PATCH] reverted --- include/boost/unordered/detail/foa.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 8c5c2fa2..5f731494 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1558,8 +1558,7 @@ private: auto p=arrays.elements+pos*N; prefetch_elements(p); do{ - //auto n=unchecked_countr_zero(mask); - auto n=(unsigned int)__builtin_ctz((unsigned int)mask); + auto n=unchecked_countr_zero(mask); if(BOOST_LIKELY(bool(pred()(x,key_from(p[n]))))){ return {pg,n,p+n}; }