removed explicit bool cast in find_impl

This commit is contained in:
joaquintides
2022-10-27 12:32:18 +02:00
parent 883789611c
commit dfadb54df3

View File

@ -1559,7 +1559,7 @@ private:
prefetch_elements(p); prefetch_elements(p);
do{ do{
auto n=unchecked_countr_zero(mask); auto n=unchecked_countr_zero(mask);
if(BOOST_LIKELY(bool(pred()(x,key_from(p[n]))))){ if(BOOST_LIKELY(pred()(x,key_from(p[n])))){
return {pg,n,p+n}; return {pg,n,p+n};
} }
mask&=mask-1; mask&=mask-1;