summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers/SubjectParser.cpp')
-rw-r--r--Swiften/Parser/PayloadParsers/SubjectParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/PayloadParsers/SubjectParser.cpp b/Swiften/Parser/PayloadParsers/SubjectParser.cpp
index d28fb7d..d7d9af8 100644
--- a/Swiften/Parser/PayloadParsers/SubjectParser.cpp
+++ b/Swiften/Parser/PayloadParsers/SubjectParser.cpp
@@ -11,18 +11,18 @@ namespace Swift {
SubjectParser::SubjectParser() : level_(0) {
}
-void SubjectParser::handleStartElement(const String&, const String&, const AttributeMap&) {
+void SubjectParser::handleStartElement(const std::string&, const std::string&, const AttributeMap&) {
++level_;
}
-void SubjectParser::handleEndElement(const String&, const String&) {
+void SubjectParser::handleEndElement(const std::string&, const std::string&) {
--level_;
if (level_ == 0) {
getPayloadInternal()->setText(text_);
}
}
-void SubjectParser::handleCharacterData(const String& data) {
+void SubjectParser::handleCharacterData(const std::string& data) {
text_ += data;
}