summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers/SearchPayloadParser.h')
-rw-r--r--Swiften/Parser/PayloadParsers/SearchPayloadParser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Parser/PayloadParsers/SearchPayloadParser.h b/Swiften/Parser/PayloadParsers/SearchPayloadParser.h
index 55177b0..01441e8 100644
--- a/Swiften/Parser/PayloadParsers/SearchPayloadParser.h
+++ b/Swiften/Parser/PayloadParsers/SearchPayloadParser.h
@@ -20,9 +20,9 @@ namespace Swift {
SearchPayloadParser();
~SearchPayloadParser();
- virtual void handleStartElement(const String& element, const String&, const AttributeMap& attributes);
- virtual void handleEndElement(const String& element, const String&);
- virtual void handleCharacterData(const String& data);
+ virtual void handleStartElement(const std::string& element, const std::string&, const AttributeMap& attributes);
+ virtual void handleEndElement(const std::string& element, const std::string&);
+ virtual void handleCharacterData(const std::string& data);
private:
enum Level {
@@ -33,7 +33,7 @@ namespace Swift {
int level;
FormParserFactory* formParserFactory;
FormParser* formParser;
- String currentText;
+ std::string currentText;
boost::optional<SearchPayload::Item> currentItem;
};
}