Didn't actually change anything. Just moved two functions up higher in the

file to make the Solaris compiler happy...
This commit is contained in:
troy%netscape.com 1999-10-19 04:50:34 +00:00
Родитель b736eb7c8c
Коммит 75462f79f1
1 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -305,6 +305,24 @@ nsDST::~nsDST()
mArena->Release();
}
// Called by Remove() to destroy a node. Explicitly calls the destructor
// and then asks the memory arena to free the memory
inline void
nsDST::DestroyNode(LeafNode* aLeafNode)
{
aLeafNode->~LeafNode(); // call destructor
mArena->FreeNode(aLeafNode); // free memory
}
// Called by Remove() to destroy a node. Explicitly calls the destructor
// and then asks the memory arena to free the memory
inline void
nsDST::DestroyNode(TwoNode* aTwoNode)
{
aTwoNode->~TwoNode(); // call destructor
mArena->FreeNode(aTwoNode); // free memory
}
void
nsDST::FreeTree(LeafNode* aNode)
{
@ -360,24 +378,6 @@ keepLooping:
}
}
// Called by Remove() to destroy a node. Explicitly calls the destructor
// and then asks the memory arena to free the memory
inline void
nsDST::DestroyNode(LeafNode* aLeafNode)
{
aLeafNode->~LeafNode(); // call destructor
mArena->FreeNode(aLeafNode); // free memory
}
// Called by Remove() to destroy a node. Explicitly calls the destructor
// and then asks the memory arena to free the memory
inline void
nsDST::DestroyNode(TwoNode* aTwoNode)
{
aTwoNode->~TwoNode(); // call destructor
mArena->FreeNode(aTwoNode); // free memory
}
nsDST::LeafNode*
nsDST::ConvertToLeafNode(TwoNode** aTwoNode)
{