mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00: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…
Reference in New Issue
Block a user