diff --git a/server/TracyPopcnt.hpp b/server/TracyPopcnt.hpp index d6e4af03..57f5c9ee 100644 --- a/server/TracyPopcnt.hpp +++ b/server/TracyPopcnt.hpp @@ -5,7 +5,7 @@ # include # define TracyCountBits __popcnt64 #else -static int TracyCountBits( uint64_t i ) +static inline int TracyCountBits( uint64_t i ) { i = i - ( (i >> 1) & 0x5555555555555555 ); i = ( i & 0x3333333333333333 ) + ( (i >> 2) & 0x3333333333333333 );