From 4e00d08dfbc0110a7f3a7a533fb5764cdcbbe12e Mon Sep 17 00:00:00 2001 From: Guillaume Bittoun Date: Fri, 17 Oct 2014 12:27:36 +0000 Subject: [PATCH] avl_tree: whoops ! bug fix. --- src/lol/algorithm/avl_tree.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lol/algorithm/avl_tree.h b/src/lol/algorithm/avl_tree.h index 8a4a1d88..04974bd4 100644 --- a/src/lol/algorithm/avl_tree.h +++ b/src/lol/algorithm/avl_tree.h @@ -105,6 +105,8 @@ public: delete this->m_root; this->m_root = nullptr; } + + this->m_count = 0; } bool try_get_value(K const & key, V * & value_ptr) const