listener_contact: Use JPH CountTrailingZeros

pull/100/head
Joshua Ashton 5 months ago
parent cfae6a7997
commit 6636409b10

@ -552,7 +552,7 @@ private:
{
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 ] )
func( event );

Loading…
Cancel
Save