mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-26 21:58:39 +01:00
fixed unused param warnings
This commit is contained in:
parent
7fbed3b382
commit
eaeaf1e03d
2 changed files with 9 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
// EntityResolver
|
// EntityResolver
|
||||||
Arabica::SAX::InputSource<std::string> SimpleHandler::resolveEntity(const std::string& publicId, const std::string& systemId)
|
Arabica::SAX::InputSource<std::string> SimpleHandler::resolveEntity(const std::string& /* publicId */, const std::string& /* systemId */)
|
||||||
{
|
{
|
||||||
return Arabica::SAX::InputSource<std::string>();
|
return Arabica::SAX::InputSource<std::string>();
|
||||||
} // resolveEntity
|
} // resolveEntity
|
||||||
|
@ -56,8 +56,10 @@ void SimpleHandler::endPrefixMapping(const std::string& prefix)
|
||||||
std::cout << "endPrefixMapping " << prefix << std::endl;
|
std::cout << "endPrefixMapping " << prefix << std::endl;
|
||||||
} // startPrefixMapping
|
} // startPrefixMapping
|
||||||
|
|
||||||
void SimpleHandler::startElement(const std::string& namespaceURI, const std::string& localName,
|
void SimpleHandler::startElement(const std::string& namespaceURI,
|
||||||
const std::string& qName, const Arabica::SAX::Attributes<std::string>& atts)
|
const std::string& localName,
|
||||||
|
const std::string& qName,
|
||||||
|
const Arabica::SAX::Attributes<std::string>& /* atts */)
|
||||||
{
|
{
|
||||||
if(localName.length())
|
if(localName.length())
|
||||||
std::cout << "Start Element: " << namespaceURI << ":" << localName << std::endl;
|
std::cout << "Start Element: " << namespaceURI << ":" << localName << std::endl;
|
||||||
|
@ -65,8 +67,9 @@ void SimpleHandler::startElement(const std::string& namespaceURI, const std::str
|
||||||
std::cout << "Start Element: " << qName << std::endl;
|
std::cout << "Start Element: " << qName << std::endl;
|
||||||
} // startElement
|
} // startElement
|
||||||
|
|
||||||
void SimpleHandler::endElement(const std::string& namespaceURI, const std::string& localName,
|
void SimpleHandler::endElement(const std::string& namespaceURI,
|
||||||
const std::string& qName)
|
const std::string& localName,
|
||||||
|
const std::string& /* qName */)
|
||||||
{
|
{
|
||||||
std::cout << "endElement: " << namespaceURI << ":" << localName << std::endl;
|
std::cout << "endElement: " << namespaceURI << ":" << localName << std::endl;
|
||||||
} // endElement
|
} // endElement
|
||||||
|
|
|
@ -40,7 +40,7 @@ public:
|
||||||
|
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
// ContentHandler
|
// ContentHandler
|
||||||
virtual void setDocumentLocator(const LocatorT& locator) { }
|
virtual void setDocumentLocator(const LocatorT& /* locator */) { }
|
||||||
virtual void startDocument();
|
virtual void startDocument();
|
||||||
virtual void endDocument();
|
virtual void endDocument();
|
||||||
virtual void startPrefixMapping(const std::string& prefix, const std::string& uri);
|
virtual void startPrefixMapping(const std::string& prefix, const std::string& uri);
|
||||||
|
|
Loading…
Reference in a new issue