From 82476a310cf88ff659d09c63f076afb8f65073f2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 19 Oct 2017 23:25:49 +0200 Subject: [PATCH] Implement Vector::clear(). --- server/TracyVector.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/TracyVector.hpp b/server/TracyVector.hpp index 30a3e99a..7a8745be 100644 --- a/server/TracyVector.hpp +++ b/server/TracyVector.hpp @@ -126,6 +126,11 @@ public: Realloc(); } + void clear() + { + m_size = 0; + } + private: void AllocMore() {