diff options
Diffstat (limited to 'Swiften/Roster/GetRosterRequest.h')
-rw-r--r-- | Swiften/Roster/GetRosterRequest.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/Roster/GetRosterRequest.h b/Swiften/Roster/GetRosterRequest.h index 271b2fb..00cf77f 100644 --- a/Swiften/Roster/GetRosterRequest.h +++ b/Swiften/Roster/GetRosterRequest.h @@ -8,11 +8,13 @@ #include "Swiften/Queries/GenericRequest.h" #include "Swiften/Elements/RosterPayload.h" -#include "Swiften/Base/Shared.h" + namespace Swift { - class GetRosterRequest : public GenericRequest<RosterPayload>, public Shared<GetRosterRequest> { + class GetRosterRequest : public GenericRequest<RosterPayload> { public: + typedef boost::shared_ptr<GetRosterRequest> ref; + static ref create(IQRouter* router) { return ref(new GetRosterRequest(router)); } |