diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-06-12 07:46:07 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-06-12 07:50:13 (GMT) |
commit | 3260f09c55a6f06d9c3ac10f2eddbda68d94de4d (patch) | |
tree | 3f502e41a813d54d5a8efd2ca41f469dfefe16c5 /Swiften/Queries/Request.h | |
parent | e9a402583b02866c87475711c57b04f499e846ef (diff) | |
download | swift-contrib-3260f09c55a6f06d9c3ac10f2eddbda68d94de4d.zip swift-contrib-3260f09c55a6f06d9c3ac10f2eddbda68d94de4d.tar.bz2 |
Do not register IQHandler in the constructor.
This can get us in all kinds of trouble, including that it makes it
impossible to use shared_ptr<> for Requests.
Diffstat (limited to 'Swiften/Queries/Request.h')
-rw-r--r-- | Swiften/Queries/Request.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Queries/Request.h b/Swiften/Queries/Request.h index d2bede6..52d1d15 100644 --- a/Swiften/Queries/Request.h +++ b/Swiften/Queries/Request.h @@ -35,6 +35,7 @@ namespace Swift { bool handleIQ(boost::shared_ptr<IQ>); private: + IQRouter* router_; IQ::Type type_; JID receiver_; boost::shared_ptr<Payload> payload_; |