diff options
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/ReplaceSerializer.h')
-rw-r--r-- | Swiften/Serializer/PayloadSerializers/ReplaceSerializer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/ReplaceSerializer.h b/Swiften/Serializer/PayloadSerializers/ReplaceSerializer.h index b61547e..a16f52b 100644 --- a/Swiften/Serializer/PayloadSerializers/ReplaceSerializer.h +++ b/Swiften/Serializer/PayloadSerializers/ReplaceSerializer.h @@ -18,12 +18,12 @@ #include <Swiften/Serializer/XML/XMLTextNode.h> namespace Swift { - class SWIFTEN_API ReplaceSerializer : public GenericPayloadSerializer<Replace> { - public: - ReplaceSerializer() : GenericPayloadSerializer<Replace>() {} + class SWIFTEN_API ReplaceSerializer : public GenericPayloadSerializer<Replace> { + public: + ReplaceSerializer() : GenericPayloadSerializer<Replace>() {} - virtual std::string serializePayload(boost::shared_ptr<Replace> replace) const { - return "<replace id = '" + replace->getID() + "' xmlns='urn:xmpp:message-correct:0'/>"; - } - }; + virtual std::string serializePayload(boost::shared_ptr<Replace> replace) const { + return "<replace id = '" + replace->getID() + "' xmlns='urn:xmpp:message-correct:0'/>"; + } + }; } |