summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/StatusShowSerializer.h')
-rw-r--r--Swiften/Serializer/PayloadSerializers/StatusShowSerializer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/StatusShowSerializer.h b/Swiften/Serializer/PayloadSerializers/StatusShowSerializer.h
index 9102fde..e797e81 100644
--- a/Swiften/Serializer/PayloadSerializers/StatusShowSerializer.h
+++ b/Swiften/Serializer/PayloadSerializers/StatusShowSerializer.h
@@ -15,12 +15,12 @@ namespace Swift {
public:
StatusShowSerializer() : GenericPayloadSerializer<StatusShow>() {}
- virtual String serializePayload(boost::shared_ptr<StatusShow> statusShow) const {
+ virtual std::string serializePayload(boost::shared_ptr<StatusShow> statusShow) const {
if (statusShow->getType () == StatusShow::Online || statusShow->getType() == StatusShow::None) {
return "";
}
else {
- String result("<show>");
+ std::string result("<show>");
switch (statusShow->getType()) {
case StatusShow::Away: result += "away"; break;
case StatusShow::XA: result += "xa"; break;