From db9e84cd3de1e56ae81e0ca6110c164435e7ca5a Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 16 Mar 2010 18:01:38 +0000 Subject: Removed dependencies in qpid/messaging on qpid/client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@923908 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/messaging/Connection.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'cpp/src/qpid/messaging/Connection.cpp') diff --git a/cpp/src/qpid/messaging/Connection.cpp b/cpp/src/qpid/messaging/Connection.cpp index 4873899787..cb06af7693 100644 --- a/cpp/src/qpid/messaging/Connection.cpp +++ b/cpp/src/qpid/messaging/Connection.cpp @@ -23,23 +23,17 @@ #include "qpid/messaging/ConnectionImpl.h" #include "qpid/messaging/Session.h" #include "qpid/messaging/SessionImpl.h" -#include "qpid/client/PrivateImplRef.h" +#include "qpid/messaging/PrivateImplRef.h" #include "qpid/client/amqp0_10/ConnectionImpl.h" #include "qpid/log/Statement.h" namespace qpid { -namespace client { - -typedef PrivateImplRef PI; - -} - namespace messaging { -using qpid::client::PI; +typedef PrivateImplRef PI; Connection::Connection(ConnectionImpl* impl) { PI::ctor(*this, impl); } -Connection::Connection(const Connection& c) : qpid::client::Handle() { PI::copy(*this, c); } +Connection::Connection(const Connection& c) : Handle() { PI::copy(*this, c); } Connection& Connection::operator=(const Connection& c) { return PI::assign(*this, c); } Connection::~Connection() { PI::dtor(*this); } -- cgit v1.2.1