mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Simpler vector init.
This commit is contained in:
parent
00d91cb9ab
commit
d150e688f5
@ -29,11 +29,8 @@ public:
|
||||
using const_iterator = const T*;
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user