mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Assert on getting index only for active strings.
This commit is contained in:
parent
acfcfb09ce
commit
4964aa9547
@ -60,6 +60,7 @@ public:
|
|||||||
{
|
{
|
||||||
uint32_t idx = 0;
|
uint32_t idx = 0;
|
||||||
memcpy( &idx, m_idx, 3 );
|
memcpy( &idx, m_idx, 3 );
|
||||||
|
assert( idx != 0 );
|
||||||
return idx - 1;
|
return idx - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user