silenced unused param warnings

This commit is contained in:
Jez Higgins 2010-01-09 22:34:13 +00:00
parent 9b0ffe958f
commit 6c55f7f36c

View file

@ -3,8 +3,6 @@
/////////////////////////////////////////
// C++ DOM Traversal Implementation
//
// $Id: TreeWalker.h 2 2002-06-21 11:16:28Z jez_higgins $
/////////////////////////////////////////
#include <DOM/Traversal/TreeWalkerImpl.hpp>
@ -29,18 +27,20 @@ class DocumentTraversalImpl : public DocumentTraversal_impl<stringT, string_adap
DocumentTraversalImpl() {}
virtual NodeIterator_implT* createNodeIterator(NodeT root,
unsigned long whatToShow,
NodeFilterT* filter,
bool entityRefExpansion)
virtual NodeIterator_implT*
createNodeIterator(NodeT /* root */,
unsigned long /* whatToShow */,
NodeFilterT* /* filter */,
bool /* entityRefExpansion */)
{
return 0;
}
virtual TreeWalker_implT* createTreeWalker(NodeT root,
unsigned long whatToShow,
NodeFilterT* filter,
bool entityRefExpansion)
virtual TreeWalker_implT*
createTreeWalker(NodeT root,
unsigned long whatToShow,
NodeFilterT* filter,
bool entityRefExpansion)
{
return new TreeWalkerImplT(root, whatToShow, filter, entityRefExpansion);
}