summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/PubSubOwnerAffiliations.h')
-rw-r--r--Swiften/Elements/PubSubOwnerAffiliations.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Swiften/Elements/PubSubOwnerAffiliations.h b/Swiften/Elements/PubSubOwnerAffiliations.h
index 5005b01..f1085bb 100644
--- a/Swiften/Elements/PubSubOwnerAffiliations.h
+++ b/Swiften/Elements/PubSubOwnerAffiliations.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<PubSubOwnerAffiliation> >& getAffiliations() const {
+ const std::vector< std::shared_ptr<PubSubOwnerAffiliation> >& getAffiliations() const {
return affiliations;
}
- void setAffiliations(const std::vector< boost::shared_ptr<PubSubOwnerAffiliation> >& value) {
+ void setAffiliations(const std::vector< std::shared_ptr<PubSubOwnerAffiliation> >& value) {
this->affiliations = value ;
}
- void addAffiliation(boost::shared_ptr<PubSubOwnerAffiliation> value) {
+ void addAffiliation(std::shared_ptr<PubSubOwnerAffiliation> value) {
this->affiliations.push_back(value);
}
private:
std::string node;
- std::vector< boost::shared_ptr<PubSubOwnerAffiliation> > affiliations;
+ std::vector< std::shared_ptr<PubSubOwnerAffiliation> > affiliations;
};
}