diff options
Diffstat (limited to 'Swiften/Parser/PayloadParsers')
-rw-r--r-- | Swiften/Parser/PayloadParsers/ErrorParserFactory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Parser/PayloadParsers/ErrorParserFactory.h b/Swiften/Parser/PayloadParsers/ErrorParserFactory.h index 8616cbc..1463807 100644 --- a/Swiften/Parser/PayloadParsers/ErrorParserFactory.h +++ b/Swiften/Parser/PayloadParsers/ErrorParserFactory.h @@ -17,7 +17,7 @@ namespace Swift { ErrorParserFactory(PayloadParserFactoryCollection* factories) : factories(factories) { } - virtual bool canParse(const std::string& element, const std::string& ns, const AttributeMap&) const { + virtual bool canParse(const std::string& element, const std::string& /*ns*/, const AttributeMap&) const { return element == "error"; } |