summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/AsyncResultHandleImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/AsyncResultHandleImpl.h')
-rw-r--r--cpp/src/qpid/broker/AsyncResultHandleImpl.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/AsyncResultHandleImpl.h b/cpp/src/qpid/broker/AsyncResultHandleImpl.h
index e1bd1fa0e9..4fe6d1248c 100644
--- a/cpp/src/qpid/broker/AsyncResultHandleImpl.h
+++ b/cpp/src/qpid/broker/AsyncResultHandleImpl.h
@@ -35,18 +35,20 @@ class AsyncResultHandleImpl : public virtual qpid::RefCounted
{
public:
AsyncResultHandleImpl();
- AsyncResultHandleImpl(const BrokerAsyncContext* bc);
- AsyncResultHandleImpl(const int errNo, const std::string& errMsg, const BrokerAsyncContext* bc);
+ AsyncResultHandleImpl(boost::shared_ptr<BrokerAsyncContext> bc);
+ AsyncResultHandleImpl(const int errNo,
+ const std::string& errMsg,
+ boost::shared_ptr<BrokerAsyncContext> bc);
virtual ~AsyncResultHandleImpl();
int getErrNo() const;
std::string getErrMsg() const;
- const BrokerAsyncContext* getBrokerAsyncContext() const;
+ boost::shared_ptr<BrokerAsyncContext> getBrokerAsyncContext() const;
private:
const int m_errNo;
const std::string m_errMsg;
- const BrokerAsyncContext* m_bc;
+ boost::shared_ptr<BrokerAsyncContext> m_bc;
};
}} // namespace qpid::broker