summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/PubSubPublish.h')
-rw-r--r--Swiften/Elements/PubSubPublish.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Swiften/Elements/PubSubPublish.h b/Swiften/Elements/PubSubPublish.h
index a6fca8d..dff099b 100644
--- a/Swiften/Elements/PubSubPublish.h
+++ b/Swiften/Elements/PubSubPublish.h
@@ -6,11 +6,10 @@
#pragma once
+#include <memory>
#include <string>
#include <vector>
-#include <boost/shared_ptr.hpp>
-
#include <Swiften/Base/API.h>
#include <Swiften/Base/Override.h>
#include <Swiften/Elements/Payload.h>
@@ -33,21 +32,21 @@ namespace Swift {
this->node = value ;
}
- const std::vector< boost::shared_ptr<PubSubItem> >& getItems() const {
+ const std::vector< std::shared_ptr<PubSubItem> >& getItems() const {
return items;
}
- void setItems(const std::vector< boost::shared_ptr<PubSubItem> >& value) {
+ void setItems(const std::vector< std::shared_ptr<PubSubItem> >& value) {
this->items = value ;
}
- void addItem(boost::shared_ptr<PubSubItem> value) {
+ void addItem(std::shared_ptr<PubSubItem> value) {
this->items.push_back(value);
}
private:
std::string node;
- std::vector< boost::shared_ptr<PubSubItem> > items;
+ std::vector< std::shared_ptr<PubSubItem> > items;
};
}