listener_contact: Use JPH CountTrailingZeros
This commit is contained in:
parent
cfae6a7997
commit
6636409b10
|
@ -552,7 +552,7 @@ private:
|
||||||
{
|
{
|
||||||
for ( uint32 thread = m_Mask; thread; thread &= thread - 1 )
|
for ( uint32 thread = m_Mask; thread; thread &= thread - 1 )
|
||||||
{
|
{
|
||||||
const uint32 i = tzcnt( thread );
|
const uint32 i = JPH::CountTrailingZeros( thread );
|
||||||
for ( auto &event : m_Events[ i ] )
|
for ( auto &event : m_Events[ i ] )
|
||||||
func( event );
|
func( event );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue