mirror of
https://github.com/wolfpld/tracy
synced 2025-05-07 23:43:52 +00:00
Add assert checking that there's space.
This commit is contained in:
parent
d64f0390da
commit
dc1396012e
@ -85,6 +85,7 @@ public:
|
||||
|
||||
void push_back_no_space_check( const T& v )
|
||||
{
|
||||
assert( m_size < Capacity() );
|
||||
m_ptr[m_size++] = v;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user