mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Assert against overrun.
This commit is contained in:
parent
6fcdb924e8
commit
5b6cbc5306
@ -105,6 +105,7 @@ private:
|
||||
{
|
||||
const auto id = m_head;
|
||||
m_head = ( m_head + 1 ) % Num;
|
||||
assert( m_head != m_tail );
|
||||
return m_query[id];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user