diff options
Diffstat (limited to 'Swiften/Parser/UnknownPayloadParser.h')
-rw-r--r-- | Swiften/Parser/UnknownPayloadParser.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Swiften/Parser/UnknownPayloadParser.h b/Swiften/Parser/UnknownPayloadParser.h index 96e7b77..1553704 100644 --- a/Swiften/Parser/UnknownPayloadParser.h +++ b/Swiften/Parser/UnknownPayloadParser.h @@ -1,27 +1,27 @@ /* - * Copyright (c) 2010-2015 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once -#include <boost/shared_ptr.hpp> +#include <memory> #include <Swiften/Base/API.h> #include <Swiften/Parser/PayloadParser.h> namespace Swift { - class SWIFTEN_API UnknownPayloadParser : public PayloadParser { - public: - UnknownPayloadParser() {} + class SWIFTEN_API UnknownPayloadParser : public PayloadParser { + public: + UnknownPayloadParser() {} - virtual void handleStartElement(const std::string&, const std::string&, const AttributeMap&) {} - virtual void handleEndElement(const std::string&, const std::string&) {} - virtual void handleCharacterData(const std::string&) {} + virtual void handleStartElement(const std::string&, const std::string&, const AttributeMap&) {} + virtual void handleEndElement(const std::string&, const std::string&) {} + virtual void handleCharacterData(const std::string&) {} - virtual boost::shared_ptr<Payload> getPayload() const { - return boost::shared_ptr<Payload>(); - } - }; + virtual std::shared_ptr<Payload> getPayload() const { + return std::shared_ptr<Payload>(); + } + }; } |