From 35391d08f17759635d5e7dc28172060ae12432a5 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 11 Nov 2017 02:46:41 +0100 Subject: [PATCH] TracyCountBits should be static inline. --- server/TracyPopcnt.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );