diff options
Diffstat (limited to 'Swiften/Serializer/AuthSuccessSerializer.cpp')
-rw-r--r-- | Swiften/Serializer/AuthSuccessSerializer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Serializer/AuthSuccessSerializer.cpp b/Swiften/Serializer/AuthSuccessSerializer.cpp index 6e9103b..443c740 100644 --- a/Swiften/Serializer/AuthSuccessSerializer.cpp +++ b/Swiften/Serializer/AuthSuccessSerializer.cpp @@ -14,9 +14,9 @@ namespace Swift { AuthSuccessSerializer::AuthSuccessSerializer() { } -String AuthSuccessSerializer::serialize(boost::shared_ptr<Element> element) const { +std::string AuthSuccessSerializer::serialize(boost::shared_ptr<Element> element) const { boost::shared_ptr<AuthSuccess> authSuccess(boost::dynamic_pointer_cast<AuthSuccess>(element)); - String value; + std::string value; boost::optional<ByteArray> message = authSuccess->getValue(); if (message) { if ((*message).isEmpty()) { |