summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/Tree/TreeReparser.cpp')
-rw-r--r--Swiften/Parser/Tree/TreeReparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Parser/Tree/TreeReparser.cpp b/Swiften/Parser/Tree/TreeReparser.cpp
index 269b2ea..7fc74cf 100644
--- a/Swiften/Parser/Tree/TreeReparser.cpp
+++ b/Swiften/Parser/Tree/TreeReparser.cpp
@@ -21,7 +21,7 @@ namespace Swift {
typedef std::pair<ParserElement::ref, bool> ElementState;
-boost::shared_ptr<Payload> TreeReparser::parseTree(ParserElement::ref root, PayloadParserFactoryCollection* collection) {
+std::shared_ptr<Payload> TreeReparser::parseTree(ParserElement::ref root, PayloadParserFactoryCollection* collection) {
PayloadParser* parser = collection->getPayloadParserFactory(root->getName(), root->getNamespace(), root->getAttributes())->createPayloadParser();
std::deque<ElementState > stack;
stack.push_back(ElementState(root, true));
@@ -41,7 +41,7 @@ boost::shared_ptr<Payload> TreeReparser::parseTree(ParserElement::ref root, Payl
}
- boost::shared_ptr<Payload> payload = parser->getPayload();
+ std::shared_ptr<Payload> payload = parser->getPayload();
delete parser;
return payload;
}