Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'server/TracyVector.hpp')
-rw-r--r--server/TracyVector.hpp5
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()
{