summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Connection.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-09-28 17:53:16 +0000
committerAlan Conway <aconway@apache.org>2007-09-28 17:53:16 +0000
commit68c4615c9f0c37d3debfdace0c2169103cf9287d (patch)
tree0217ca70a9acf96c810fc15ab888b56e888ca8d6 /cpp/src/qpid/client/Connection.h
parent28b72367e7d93d51c34adf2e7a59da21b20e694d (diff)
downloadqpid-python-68c4615c9f0c37d3debfdace0c2169103cf9287d.tar.gz
Ensure no danbling pointers in client API:
- Session -shared_ptr-> SessionCore -shared_ptr-> ConnectionImpl - Connection -shared_ptr-> ConnectionImpl - ConnectionImpl -weak_ptr-> SessionCore git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@580440 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connection.h')
-rw-r--r--cpp/src/qpid/client/Connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/Connection.h b/cpp/src/qpid/client/Connection.h
index 4a9a68e8b3..2e5059f135 100644
--- a/cpp/src/qpid/client/Connection.h
+++ b/cpp/src/qpid/client/Connection.h
@@ -57,7 +57,7 @@ class Connection
framing::ChannelId channelIdCounter;
framing::ProtocolVersion version;
const uint32_t max_frame_size;
- ConnectionImpl::shared_ptr impl;
+ shared_ptr<ConnectionImpl> impl;
bool isOpen;
bool debug;