diff options
author | Alan Conway <aconway@apache.org> | 2009-05-06 14:59:23 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-05-06 14:59:23 +0000 |
commit | 51aa1c108e8b9c3b72aa1e81bcd9b41b3910c4b4 (patch) | |
tree | 1180206db9b9e65f98ed470a8f45d94c403f2f12 /cpp/src/qpid/client/Connection.cpp | |
parent | 5d89f0791bec9417c3dc59a1903a17a1f7e78e52 (diff) | |
download | qpid-python-51aa1c108e8b9c3b72aa1e81bcd9b41b3910c4b4.tar.gz |
Remove useless qpid/shared_ptr.h wrapper.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772294 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connection.cpp')
-rw-r--r-- | cpp/src/qpid/client/Connection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/Connection.cpp b/cpp/src/qpid/client/Connection.cpp index e8415403ca..b0d9406fad 100644 --- a/cpp/src/qpid/client/Connection.cpp +++ b/cpp/src/qpid/client/Connection.cpp @@ -28,7 +28,6 @@ #include "qpid/log/Logger.h" #include "qpid/log/Options.h" #include "qpid/log/Statement.h" -#include "qpid/shared_ptr.h" #include "qpid/framing/AMQP_HighestVersion.h" #include <algorithm> @@ -37,6 +36,7 @@ #include <functional> #include <boost/format.hpp> #include <boost/bind.hpp> +#include <boost/shared_ptr.hpp> using namespace qpid::framing; using namespace qpid::sys; @@ -47,7 +47,7 @@ namespace client { Connection::Connection() : version(framing::highestProtocolVersion) {} -Connection::~Connection(){ } +Connection::~Connection() {} void Connection::open( const Url& url, @@ -119,7 +119,7 @@ void Connection::open(const ConnectionSettings& settings) if (isOpen()) throw Exception(QPID_MSG("Connection::open() was already called")); - impl = shared_ptr<ConnectionImpl>(new ConnectionImpl(version, settings)); + impl = boost::shared_ptr<ConnectionImpl>(new ConnectionImpl(version, settings)); impl->open(); if ( failureCallback ) impl->registerFailureCallback ( failureCallback ); |