diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-14 19:33:05 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-14 19:33:05 (GMT) |
commit | d2625df30861a4caa984031a6990d19dfebc3367 (patch) | |
tree | 9f6b36168d2a417f0e4ef393b099428c2024223e /Swiften/Client/Session.h | |
parent | ee3a46975986865fe5064f9d87a27277fc6c235a (diff) | |
download | swift-contrib-d2625df30861a4caa984031a6990d19dfebc3367.zip swift-contrib-d2625df30861a4caa984031a6990d19dfebc3367.tar.bz2 |
Make all Connection instances shared_ptrs.
Diffstat (limited to 'Swiften/Client/Session.h')
-rw-r--r-- | Swiften/Client/Session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Client/Session.h b/Swiften/Client/Session.h index 516cb5a..72b57bd 100644 --- a/Swiften/Client/Session.h +++ b/Swiften/Client/Session.h @@ -112,7 +112,7 @@ namespace Swift { PayloadSerializerCollection* payloadSerializers_; State state_; SessionError error_; - Connection* connection_; + boost::shared_ptr<Connection> connection_; XMPPLayer* xmppLayer_; TLSLayer* tlsLayer_; ConnectionLayer* connectionLayer_; |