mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
TracyCountBits should be static inline.
This commit is contained in:
parent
88d4580631
commit
35391d08f1
@ -5,7 +5,7 @@
|
||||
# include <intrin.h>
|
||||
# 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 );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user