From 7ed4166f0ca2de3c2adccd8a3f46ea6da5efbd3b Mon Sep 17 00:00:00 2001 From: Irlan Date: Sun, 7 Apr 2019 08:07:34 -0300 Subject: [PATCH] Remove code --- examples/testbed/framework/profiler_st.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/testbed/framework/profiler_st.cpp b/examples/testbed/framework/profiler_st.cpp index bb3523a..3866e84 100644 --- a/examples/testbed/framework/profiler_st.cpp +++ b/examples/testbed/framework/profiler_st.cpp @@ -28,10 +28,8 @@ ProfilerSt::ProfilerSt() : m_pool(sizeof(ProfilerStNode)) ProfilerSt::~ProfilerSt() { - if (m_root) - { - RecurseDestroyNode(m_root); - } + assert(m_root == nullptr); + assert(m_top == nullptr); } ProfilerStNodeStat* ProfilerSt::FindStat(const char* name)