summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/PubSubOwnerSubscriptions.h')
-rw-r--r--Swiften/Elements/PubSubOwnerSubscriptions.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Swiften/Elements/PubSubOwnerSubscriptions.h b/Swiften/Elements/PubSubOwnerSubscriptions.h
index 44c31b8..ec5aa17 100644
--- a/Swiften/Elements/PubSubOwnerSubscriptions.h
+++ b/Swiften/Elements/PubSubOwnerSubscriptions.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<PubSubOwnerSubscription> >& getSubscriptions() const {
+ const std::vector< std::shared_ptr<PubSubOwnerSubscription> >& getSubscriptions() const {
return subscriptions;
}
- void setSubscriptions(const std::vector< boost::shared_ptr<PubSubOwnerSubscription> >& value) {
+ void setSubscriptions(const std::vector< std::shared_ptr<PubSubOwnerSubscription> >& value) {
this->subscriptions = value ;
}
- void addSubscription(boost::shared_ptr<PubSubOwnerSubscription> value) {
+ void addSubscription(std::shared_ptr<PubSubOwnerSubscription> value) {
this->subscriptions.push_back(value);
}
private:
std::string node;
- std::vector< boost::shared_ptr<PubSubOwnerSubscription> > subscriptions;
+ std::vector< std::shared_ptr<PubSubOwnerSubscription> > subscriptions;
};
}