diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2017-10-20 00:25:49 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2017-10-20 00:25:49 +0300 |
commit | 82476a310cf88ff659d09c63f076afb8f65073f2 (patch) | |
tree | d9eb8ab16847a572e91c7cf5873637745b9a3c6a /server/TracyVector.hpp | |
parent | cf94b1d2e8ea40cce00b521cd09fcbebbcc5ded3 (diff) |
Implement Vector::clear().
Diffstat (limited to 'server/TracyVector.hpp')
-rw-r--r-- | server/TracyVector.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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() { |