summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/VCards')
-rw-r--r--Swiften/VCards/GetVCardRequest.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/VCards/GetVCardRequest.h b/Swiften/VCards/GetVCardRequest.h
index 2c40cd1..93e4871 100644
--- a/Swiften/VCards/GetVCardRequest.h
+++ b/Swiften/VCards/GetVCardRequest.h
@@ -8,11 +8,13 @@
#include "Swiften/Queries/GenericRequest.h"
#include "Swiften/Elements/VCard.h"
-#include "Swiften/Base/Shared.h"
+
namespace Swift {
- class GetVCardRequest : public GenericRequest<VCard>, public Shared<GetVCardRequest> {
+ class GetVCardRequest : public GenericRequest<VCard> {
public:
+ typedef boost::shared_ptr<GetVCardRequest> ref;
+
static ref create(const JID& jid, IQRouter* router) {
return ref(new GetVCardRequest(jid, router));
}