AVLTreeMap::MakeEmpty should set fTree.fRoot to NULL
This commit is contained in:
@@ -269,6 +269,7 @@ _AVL_TREE_MAP_CLASS_NAME::MakeEmpty()
|
|||||||
{
|
{
|
||||||
AVLTreeNode* root = fTree.Root();
|
AVLTreeNode* root = fTree.Root();
|
||||||
_FreeTree(root);
|
_FreeTree(root);
|
||||||
|
fTree.MakeEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user