summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 18:57:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:32 (GMT)
commitcb05f5a908e20006c954ce38755c2e422ecc2388 (patch)
treea793551a5fe279a57d4330119560e8542f745484 /Swiften/Parser/AuthSuccessParser.cpp
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-contrib-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-contrib-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/Parser/AuthSuccessParser.cpp')
-rw-r--r--Swiften/Parser/AuthSuccessParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/AuthSuccessParser.cpp b/Swiften/Parser/AuthSuccessParser.cpp
index 98855b5..0dee6ad 100644
--- a/Swiften/Parser/AuthSuccessParser.cpp
+++ b/Swiften/Parser/AuthSuccessParser.cpp
@@ -12,18 +12,18 @@ namespace Swift {
AuthSuccessParser::AuthSuccessParser() : GenericElementParser<AuthSuccess>(), depth(0) {
}
-void AuthSuccessParser::handleStartElement(const String&, const String&, const AttributeMap&) {
+void AuthSuccessParser::handleStartElement(const std::string&, const std::string&, const AttributeMap&) {
++depth;
}
-void AuthSuccessParser::handleEndElement(const String&, const String&) {
+void AuthSuccessParser::handleEndElement(const std::string&, const std::string&) {
--depth;
if (depth == 0) {
getElementGeneric()->setValue(Base64::decode(text));
}
}
-void AuthSuccessParser::handleCharacterData(const String& text) {
+void AuthSuccessParser::handleCharacterData(const std::string& text) {
this->text += text;
}