Browse Source

avl_tree: whoops ! bug fix.

undefined
Guillaume Bittoun Sam Hocevar <sam@hocevar.net> 10 years ago
parent
commit
4e00d08dfb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/lol/algorithm/avl_tree.h

+ 2
- 0
src/lol/algorithm/avl_tree.h View File

@@ -105,6 +105,8 @@ public:
delete this->m_root; delete this->m_root;
this->m_root = nullptr; this->m_root = nullptr;
} }

this->m_count = 0;
} }


bool try_get_value(K const & key, V * & value_ptr) const bool try_get_value(K const & key, V * & value_ptr) const


Loading…
Cancel
Save