mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Simpler vector init.
This commit is contained in:
parent
00d91cb9ab
commit
d150e688f5
@ -29,11 +29,8 @@ public:
|
|||||||
using const_iterator = const T*;
|
using const_iterator = const T*;
|
||||||
|
|
||||||
tracy_force_inline Vector()
|
tracy_force_inline Vector()
|
||||||
: m_ptr( nullptr )
|
|
||||||
, m_size( 0 )
|
|
||||||
, m_capacity( 0 )
|
|
||||||
, m_magic( 0 )
|
|
||||||
{
|
{
|
||||||
|
memset( this, 0, sizeof( Vector<T> ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector( const Vector& ) = delete;
|
Vector( const Vector& ) = delete;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user