diff --git a/client/TracyFastVector.hpp b/client/TracyFastVector.hpp index b548571e..74ee951a 100644 --- a/client/TracyFastVector.hpp +++ b/client/TracyFastVector.hpp @@ -1,6 +1,7 @@ #ifndef __TRACYFASTVECTOR_HPP__ #define __TRACYFASTVECTOR_HPP__ +#include #include #include "../common/TracyAlloc.hpp" @@ -21,6 +22,7 @@ public: , m_write( m_ptr ) , m_end( m_ptr + capacity ) { + assert( capacity != 0 ); } FastVector( const FastVector& ) = delete;