summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Roster/GetRosterRequest.h')
-rw-r--r--Swiften/Roster/GetRosterRequest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Roster/GetRosterRequest.h b/Swiften/Roster/GetRosterRequest.h
index 6ca16cb..1a0499f 100644
--- a/Swiften/Roster/GetRosterRequest.h
+++ b/Swiften/Roster/GetRosterRequest.h
@@ -13,7 +13,7 @@
namespace Swift {
class SWIFTEN_API GetRosterRequest : public GenericRequest<RosterPayload> {
public:
- typedef boost::shared_ptr<GetRosterRequest> ref;
+ typedef std::shared_ptr<GetRosterRequest> ref;
static ref create(IQRouter* router) {
return ref(new GetRosterRequest(router));
@@ -27,7 +27,7 @@ namespace Swift {
private:
GetRosterRequest(IQRouter* router) :
- GenericRequest<RosterPayload>(IQ::Get, JID(), boost::shared_ptr<Payload>(new RosterPayload()), router) {
+ GenericRequest<RosterPayload>(IQ::Get, JID(), std::make_shared<RosterPayload>(), router) {
}
};
}