Make Callstack() static inline.

This commit is contained in:
Bartosz Taudul 2018-06-19 17:23:50 +02:00
parent ca2cac9b99
commit 827900969f

View File

@ -31,7 +31,7 @@ struct CallstackEntry
void InitCallstack();
CallstackEntry DecodeCallstackPtr( uint64_t ptr );
tracy_force_inline const char* Callstack()
static tracy_force_inline const char* Callstack()
{
enum { StackDepth = 24 };
static_assert( StackDepth <= 63, "Stack depth can't be greater than 63." );