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