void MultiMap::clearBST(Node *cur) const
{
	if (cur == nullptr)
		return;

	clearBST(cur->left);
	clearBST(cur->right);

	clearNodeList(cur);

	delete cur;
}
Exemple #2
0
void SceneGraph::clear() 
{
	clearNodeList();
	clearRouteList();
}