mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Push next no space check variant.
This commit is contained in:
parent
bc84ebc338
commit
a8ce01eeb1
@ -101,6 +101,12 @@ public:
|
|||||||
return m_ptr[m_size++];
|
return m_ptr[m_size++];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
T& push_next_no_space_check()
|
||||||
|
{
|
||||||
|
assert( m_size < Capacity() );
|
||||||
|
return m_ptr[m_size++];
|
||||||
|
}
|
||||||
|
|
||||||
T* insert( T* it, const T& v )
|
T* insert( T* it, const T& v )
|
||||||
{
|
{
|
||||||
assert( it >= m_ptr && it <= m_ptr + m_size );
|
assert( it >= m_ptr && it <= m_ptr + m_size );
|
||||||
|
Loading…
Reference in New Issue
Block a user