summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/AuthChallengeParser.cpp')
-rw-r--r--Swiften/Parser/AuthChallengeParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/AuthChallengeParser.cpp b/Swiften/Parser/AuthChallengeParser.cpp
index 2a4d7dc..1e5e0c4 100644
--- a/Swiften/Parser/AuthChallengeParser.cpp
+++ b/Swiften/Parser/AuthChallengeParser.cpp
@@ -12,18 +12,18 @@ namespace Swift {
AuthChallengeParser::AuthChallengeParser() : GenericElementParser<AuthChallenge>(), depth(0) {
}
-void AuthChallengeParser::handleStartElement(const String&, const String&, const AttributeMap&) {
+void AuthChallengeParser::handleStartElement(const std::string&, const std::string&, const AttributeMap&) {
++depth;
}
-void AuthChallengeParser::handleEndElement(const String&, const String&) {
+void AuthChallengeParser::handleEndElement(const std::string&, const std::string&) {
--depth;
if (depth == 0) {
getElementGeneric()->setValue(Base64::decode(text));
}
}
-void AuthChallengeParser::handleCharacterData(const String& text) {
+void AuthChallengeParser::handleCharacterData(const std::string& text) {
this->text += text;
}