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:
parent
3c00ce0958
commit
b208df8829
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user