diff --git a/server/TracyVector.hpp b/server/TracyVector.hpp index c96c251d..254ce4ec 100644 --- a/server/TracyVector.hpp +++ b/server/TracyVector.hpp @@ -85,6 +85,7 @@ public: void push_back_no_space_check( const T& v ) { + assert( m_size < Capacity() ); m_ptr[m_size++] = v; }