diff options
Diffstat (limited to 'Swiften/Parser/PayloadParsers/PubSubOptionsParser.cpp')
-rw-r--r-- | Swiften/Parser/PayloadParsers/PubSubOptionsParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/PayloadParsers/PubSubOptionsParser.cpp b/Swiften/Parser/PayloadParsers/PubSubOptionsParser.cpp index 2683ae6..04d11a1 100644 --- a/Swiften/Parser/PayloadParsers/PubSubOptionsParser.cpp +++ b/Swiften/Parser/PayloadParsers/PubSubOptionsParser.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Isode Limited. + * Copyright (c) 2013-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -40,7 +40,7 @@ void PubSubOptionsParser::handleStartElement(const std::string& element, const s if (level == 1) { if (element == "x" && ns == "jabber:x:data") { - currentPayloadParser = boost::make_shared<FormParser>(); + currentPayloadParser = std::make_shared<FormParser>(); } } @@ -59,7 +59,7 @@ void PubSubOptionsParser::handleEndElement(const std::string& element, const std if (level == 1) { if (element == "x" && ns == "jabber:x:data") { - getPayloadInternal()->setData(boost::dynamic_pointer_cast<Form>(currentPayloadParser->getPayload())); + getPayloadInternal()->setData(std::dynamic_pointer_cast<Form>(currentPayloadParser->getPayload())); } currentPayloadParser.reset(); } |