summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Roster/SetRosterRequest.h')
-rw-r--r--Swiften/Roster/SetRosterRequest.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/Roster/SetRosterRequest.h b/Swiften/Roster/SetRosterRequest.h
index 7b1bf8c..b1ecd1f 100644
--- a/Swiften/Roster/SetRosterRequest.h
+++ b/Swiften/Roster/SetRosterRequest.h
@@ -11,11 +11,13 @@
#include "Swiften/Queries/Request.h"
#include "Swiften/Elements/RosterPayload.h"
-#include "Swiften/Base/Shared.h"
+
namespace Swift {
- class SetRosterRequest : public Request, public Shared<SetRosterRequest> {
+ class SetRosterRequest : public Request {
public:
+ typedef boost::shared_ptr<SetRosterRequest> ref;
+
static ref create(RosterPayload::ref payload, IQRouter* router) {
return ref(new SetRosterRequest(payload, router));
}