1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-30 12:53:51 +00:00

Add pop_back() to TracyVector.

This commit is contained in:
Bartosz Taudul 2017-11-11 20:51:03 +01:00
parent 3c00ce0958
commit b208df8829

View File

@ -134,6 +134,12 @@ public:
return begin; return begin;
} }
void pop_back()
{
assert( m_size > 0 );
m_size--;
}
void reserve( size_t cap ) void reserve( size_t cap )
{ {
if( cap <= Capacity() ) return; if( cap <= Capacity() ) return;