diff options
| author | Remko Tronçon <git@el-tramo.be> | 2009-06-12 10:26:41 (GMT) |
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2009-06-12 10:26:41 (GMT) |
| commit | 9bc8ddaf40d73647944592385bf56ece41046846 (patch) | |
| tree | 200c49a14f60754050af71922234d4aadb991bd1 /Swiften/Queries/Requests/GetDiscoInfoRequest.h | |
| parent | eded58915fd89e8b008ba7e078c5967fdef9f4cb (diff) | |
| download | swift-contrib-9bc8ddaf40d73647944592385bf56ece41046846.zip swift-contrib-9bc8ddaf40d73647944592385bf56ece41046846.tar.bz2 | |
Removing auto delete stuff from Request.
This should now be handled properly by using shared_ptrs.
Diffstat (limited to 'Swiften/Queries/Requests/GetDiscoInfoRequest.h')
| -rw-r--r-- | Swiften/Queries/Requests/GetDiscoInfoRequest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Queries/Requests/GetDiscoInfoRequest.h b/Swiften/Queries/Requests/GetDiscoInfoRequest.h index 0e8508e..386dd10 100644 --- a/Swiften/Queries/Requests/GetDiscoInfoRequest.h +++ b/Swiften/Queries/Requests/GetDiscoInfoRequest.h @@ -7,8 +7,8 @@ namespace Swift { class GetDiscoInfoRequest : public GenericRequest<DiscoInfo> { public: - GetDiscoInfoRequest(const JID& jid, IQRouter* router, AutoDeleteBehavior autoDeleteBehavior = DoNotAutoDelete) : - GenericRequest<DiscoInfo>(IQ::Get, jid, boost::shared_ptr<DiscoInfo>(new DiscoInfo()), router, autoDeleteBehavior) { + GetDiscoInfoRequest(const JID& jid, IQRouter* router) : + GenericRequest<DiscoInfo>(IQ::Get, jid, boost::shared_ptr<DiscoInfo>(new DiscoInfo()), router) { } }; } |
Swift