mirror of
https://github.com/boostorg/unordered.git
synced 2025-06-25 11:51:33 +02:00
passed BOOST_UNORDERED_ASSUME a true boolean
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user