fix windows linker bustage

This commit is contained in:
bzbarsky%mit.edu 2002-11-12 20:35:59 +00:00
parent 43612b8678
commit f93df3a67a
2 changed files with 6 additions and 9 deletions

View File

@ -138,14 +138,6 @@ nsDOMIterator::ForEach(nsDomIterFunctor& functor) const
}
}
inline nsresult
nsDOMIterator::MakeList(nsBoolDomIterFunctor& functor,
nsCOMArray<nsIDOMNode>& outArrayOfNodes) const
{
NS_PRECONDITION(outArrayOfNodes.Count() == 0, "Calling MakeList on non-empty list!");
return AppendList(functor, outArrayOfNodes);
}
nsresult
nsDOMIterator::AppendList(nsBoolDomIterFunctor& functor,
nsCOMArray<nsIDOMNode>& arrayOfNodes) const

View File

@ -212,7 +212,12 @@ class nsDOMIterator
nsresult Init(nsIDOMNode* aNode);
void ForEach(nsDomIterFunctor& functor) const;
nsresult MakeList(nsBoolDomIterFunctor& functor,
nsCOMArray<nsIDOMNode>& outArrayOfNodes) const;
nsCOMArray<nsIDOMNode>& outArrayOfNodes) const
{
NS_PRECONDITION(outArrayOfNodes.Count() == 0,
"Calling MakeList on non-empty list!");
return AppendList(functor, outArrayOfNodes);
};
nsresult AppendList(nsBoolDomIterFunctor& functor,
nsCOMArray<nsIDOMNode>& arrayOfNodes) const;
protected: