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

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

	clearNodeList(cur);

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