mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Make Callstack() static inline.
This commit is contained in:
parent
ca2cac9b99
commit
827900969f
@ -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." );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user