aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingMocks.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/test/ProfilingMocks.hpp')
-rw-r--r--src/profiling/test/ProfilingMocks.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profiling/test/ProfilingMocks.hpp b/src/profiling/test/ProfilingMocks.hpp
index fe8fbd7db9..e4f71f932c 100644
--- a/src/profiling/test/ProfilingMocks.hpp
+++ b/src/profiling/test/ProfilingMocks.hpp
@@ -193,6 +193,8 @@ public:
unsigned char* GetWritableData() override { return m_Data.get(); }
+ void Destroy() override {m_Data.reset(nullptr); m_Size = 0; m_MaxSize =0;}
+
private:
unsigned int m_MaxSize;
unsigned int m_Size;