passed BOOST_UNORDERED_ASSUME a true boolean

This commit is contained in:
joaquintides
2022-10-26 10:39:34 +02:00
parent fb315252b3
commit 5e639a97a4

View File

@ -721,7 +721,7 @@ inline unsigned int unchecked_countr_zero(int x)
_BitScanForward(&r,(unsigned long)x);
return (unsigned int)r;
#else
BOOST_UNORDERED_ASSUME(x);
BOOST_UNORDERED_ASSUME(x!=0);
return (unsigned int)boost::core::countr_zero((unsigned int)x);
#endif
}