Browse Source

avl_tree: final bug fix… so far :s

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

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

@@ -421,6 +421,8 @@ protected:
replacement->m_chain[0]->m_chain[1] = replacement;
if (replacement->m_chain[1])
replacement->m_chain[1]->m_chain[0] = replacement;

replacement->update_balance();
}
else
{


Loading…
Cancel
Save