summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/ElementParser.h')
-rw-r--r--Swiften/Parser/ElementParser.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Swiften/Parser/ElementParser.h b/Swiften/Parser/ElementParser.h
index 12c6c38..71d4bce 100644
--- a/Swiften/Parser/ElementParser.h
+++ b/Swiften/Parser/ElementParser.h
@@ -6,10 +6,9 @@
#pragma once
+#include <memory>
#include <string>
-#include <boost/shared_ptr.hpp>
-
#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
#include <Swiften/Parser/AttributeMap.h>
@@ -23,6 +22,6 @@ namespace Swift {
virtual void handleEndElement(const std::string& element, const std::string& ns) = 0;
virtual void handleCharacterData(const std::string& data) = 0;
- virtual boost::shared_ptr<ToplevelElement> getElement() const = 0;
+ virtual std::shared_ptr<ToplevelElement> getElement() const = 0;
};
}