Esempio n. 1
0
 ~TrieNode() {
     if(ChildCount == 0) return;
     else if(ChildCount > MAX_LIST_ELEMENTS) {
         DeallocateArray();
     }
     else DeallocateList(ChildrenListHead, true);
 }
Esempio n. 2
0
TetrisPiece::~TetrisPiece()
{
	DeallocateArray();
}