summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/AuthRequestParser.cpp')
-rw-r--r--Swiften/Parser/AuthRequestParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/AuthRequestParser.cpp b/Swiften/Parser/AuthRequestParser.cpp
index 5d90826..38af047 100644
--- a/Swiften/Parser/AuthRequestParser.cpp
+++ b/Swiften/Parser/AuthRequestParser.cpp
@@ -12,21 +12,21 @@ namespace Swift {
AuthRequestParser::AuthRequestParser() : GenericElementParser<AuthRequest>(), depth_(0) {
}
-void AuthRequestParser::handleStartElement(const String&, const String&, const AttributeMap& attribute) {
+void AuthRequestParser::handleStartElement(const std::string&, const std::string&, const AttributeMap& attribute) {
if (depth_ == 0) {
getElementGeneric()->setMechanism(attribute.getAttribute("mechanism"));
}
++depth_;
}
-void AuthRequestParser::handleEndElement(const String&, const String&) {
+void AuthRequestParser::handleEndElement(const std::string&, const std::string&) {
--depth_;
if (depth_ == 0) {
getElementGeneric()->setMessage(Base64::decode(text_));
}
}
-void AuthRequestParser::handleCharacterData(const String& text) {
+void AuthRequestParser::handleCharacterData(const std::string& text) {
text_ += text;
}