From 51aa1c108e8b9c3b72aa1e81bcd9b41b3910c4b4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 6 May 2009 14:59:23 +0000 Subject: 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 --- cpp/src/qpid/client/SessionImpl.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cpp/src/qpid/client/SessionImpl.cpp') diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp index 5df376efa0..0c6af5d1ff 100644 --- a/cpp/src/qpid/client/SessionImpl.cpp +++ b/cpp/src/qpid/client/SessionImpl.cpp @@ -37,6 +37,7 @@ #include "qpid/sys/IntegerTypes.h" #include +#include namespace { const std::string EMPTY; } @@ -51,7 +52,7 @@ typedef sys::Monitor::ScopedUnlock UnLock; typedef sys::ScopedLock Acquire; -SessionImpl::SessionImpl(const std::string& name, shared_ptr conn) +SessionImpl::SessionImpl(const std::string& name, boost::shared_ptr conn) : state(INACTIVE), detachedLifetime(0), maxFrameSize(conn->getNegotiatedSettings().maxFrameSize), @@ -119,7 +120,7 @@ void SessionImpl::close() //user thread waitFor(DETACHED); } -void SessionImpl::resume(shared_ptr) // user thread +void SessionImpl::resume(boost::shared_ptr) // user thread { // weakPtr sessions should not be resumed. if (weakPtr) return; @@ -770,7 +771,7 @@ void SessionImpl::setWeakPtr(bool weak) { connectionShared = connectionWeak.lock(); } -shared_ptr SessionImpl::getConnection() +boost::shared_ptr SessionImpl::getConnection() { return connectionWeak.lock(); } -- cgit v1.2.1