1
0
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:
Bartosz Taudul 2018-04-29 01:38:35 +02:00
parent d64f0390da
commit dc1396012e

View File

@ -85,6 +85,7 @@ public:
void push_back_no_space_check( const T& v )
{
assert( m_size < Capacity() );
m_ptr[m_size++] = v;
}