summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers/ChatStateParserFactory.h')
-rw-r--r--Swiften/Parser/PayloadParsers/ChatStateParserFactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Parser/PayloadParsers/ChatStateParserFactory.h b/Swiften/Parser/PayloadParsers/ChatStateParserFactory.h
index 27d3c51..3dadda7 100644
--- a/Swiften/Parser/PayloadParsers/ChatStateParserFactory.h
+++ b/Swiften/Parser/PayloadParsers/ChatStateParserFactory.h
@@ -17,7 +17,7 @@ namespace Swift {
ChatStateParserFactory() {
}
- virtual bool canParse(const String& element, const String& ns, const AttributeMap&) const {
+ virtual bool canParse(const std::string& element, const std::string& ns, const AttributeMap&) const {
return ns == "http://jabber.org/protocol/chatstates" &&
(element == "active" || element == "composing"
|| element == "paused" || element == "inactive" || element == "gone");