fixed unused parameter warnings

This commit is contained in:
Jez Higgins 2010-01-10 17:07:41 +00:00
parent 855e4b2635
commit e774bba632

View file

@ -12,7 +12,7 @@ template<class string_type, class string_adaptor>
class StringVariableResolver : public Arabica::XPath::VariableResolver<string_type, string_adaptor>
{
public:
virtual Arabica::XPath::XPathValue<string_type, string_adaptor> resolveVariable(const string_type& namespace_uri,
virtual Arabica::XPath::XPathValue<string_type, string_adaptor> resolveVariable(const string_type& /* namespace_uri */,
const string_type& name) const
{
using namespace Arabica::XPath;
@ -37,7 +37,7 @@ class NodeSetVariableResolver : public Arabica::XPath::VariableResolver<string_t
{
//typedef string_adaptorstring_adaptor;
public:
virtual Arabica::XPath::XPathValue<string_type, string_adaptor> resolveVariable(const string_type& namepace_uri,
virtual Arabica::XPath::XPathValue<string_type, string_adaptor> resolveVariable(const string_type& /* namepace_uri */,
const string_type& name) const
{
using namespace Arabica::XPath;
@ -68,7 +68,7 @@ public:
virtual Arabica::XPath::ValueType type() const { return Arabica::XPath::STRING; }
virtual Arabica::XPath::XPathValue_impl<string_type, string_adaptor>* evaluate(const Arabica::DOM::Node<string_type, string_adaptor>& context,
const Arabica::XPath::ExecutionContext<string_type, string_adaptor>& executionContext) const
const Arabica::XPath::ExecutionContext<string_type, string_adaptor>& /* executionContext */) const
{
string_type name = string_adaptor::construct_from_utf8("test-");
string_adaptor::append(name, context.getLocalName());
@ -82,7 +82,7 @@ class TestFunctionResolver : public Arabica::XPath::FunctionResolver<string_type
//typedef string_adaptorstring_adaptor;
public:
virtual Arabica::XPath::XPathFunction<string_type, string_adaptor>* resolveFunction(
const string_type& namespace_uri,
const string_type& /* namespace_uri */,
const string_type& name,
const std::vector<Arabica::XPath::XPathExpression<string_type, string_adaptor> >& argExprs) const
{