summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Response.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/Response.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/Response.h')
-rw-r--r--cpp/src/qpid/client/Response.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/Response.h b/cpp/src/qpid/client/Response.h
index f9a9f97b75..2b7d55ec1f 100644
--- a/cpp/src/qpid/client/Response.h
+++ b/cpp/src/qpid/client/Response.h
@@ -32,7 +32,7 @@ namespace client {
class Response : public Completion
{
public:
- Response(Future f, SessionCore::shared_ptr s) : Completion(f, s) {}
+ Response(Future f, shared_ptr<SessionCore> s) : Completion(f, s) {}
template <class T> T& as()
{