diff --git a/server/TracyVector.hpp b/server/TracyVector.hpp index 75febbb2..ca24b7a6 100644 --- a/server/TracyVector.hpp +++ b/server/TracyVector.hpp @@ -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 ) ); } Vector( const Vector& ) = delete;