diff --git a/server/TracyVector.hpp b/server/TracyVector.hpp index ee1ed662..b3e13228 100644 --- a/server/TracyVector.hpp +++ b/server/TracyVector.hpp @@ -176,6 +176,12 @@ public: Realloc(); } + void reserve_and_use( size_t sz ) + { + reserve( sz ); + m_size = sz; + } + void clear() { m_size = 0;