diff options
author | Kim van der Riet <kpvdr@apache.org> | 2012-07-16 13:54:11 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2012-07-16 13:54:11 +0000 |
commit | a804510d81ade0594a75b5c9b8765cafcc233245 (patch) | |
tree | 8c6be643564b6d8c88619d17de7150c98a314781 /cpp/src/qpid/broker/MessageHandle.cpp | |
parent | 1ab07197127e990da2c765ea0ffa5fd8ca47b7b6 (diff) | |
download | qpid-python-a804510d81ade0594a75b5c9b8765cafcc233245.tar.gz |
QPID-3858: Refactor to tidy up several class design issues
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1362039 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/MessageHandle.cpp')
-rw-r--r-- | cpp/src/qpid/broker/MessageHandle.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cpp/src/qpid/broker/MessageHandle.cpp b/cpp/src/qpid/broker/MessageHandle.cpp index 9a7b631e8b..2727e74edc 100644 --- a/cpp/src/qpid/broker/MessageHandle.cpp +++ b/cpp/src/qpid/broker/MessageHandle.cpp @@ -23,22 +23,23 @@ #include "MessageHandle.h" -#include "qpid/messaging/PrivateImplRef.h" +#include "PrivateImplRef.h" + +#include "qpid/asyncStore/MessageHandleImpl.h" namespace qpid { namespace broker { -typedef qpid::messaging::PrivateImplRef<MessageHandle> PrivateImpl; +typedef PrivateImplRef<MessageHandle> PrivateImpl; MessageHandle::MessageHandle(qpid::asyncStore::MessageHandleImpl* p) : - IdHandle() + Handle<qpid::asyncStore::MessageHandleImpl>() { PrivateImpl::ctor(*this, p); } MessageHandle::MessageHandle(const MessageHandle& r) : - qpid::messaging::Handle<qpid::asyncStore::MessageHandleImpl>(), - IdHandle() + Handle<qpid::asyncStore::MessageHandleImpl>() { PrivateImpl::copy(*this, r); } |