summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/TxnAsyncContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/TxnAsyncContext.cpp')
-rw-r--r--cpp/src/qpid/broker/TxnAsyncContext.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpp/src/qpid/broker/TxnAsyncContext.cpp b/cpp/src/qpid/broker/TxnAsyncContext.cpp
index e8abe99dab..c3d4342993 100644
--- a/cpp/src/qpid/broker/TxnAsyncContext.cpp
+++ b/cpp/src/qpid/broker/TxnAsyncContext.cpp
@@ -23,8 +23,6 @@
#include "TxnAsyncContext.h"
-#include <cassert>
-
namespace qpid {
namespace broker {
@@ -38,9 +36,7 @@ TxnAsyncContext::TxnAsyncContext(TxnBuffer* const tb,
m_op(op),
m_rcb(rcb),
m_arq(arq)
-{
- assert(m_th.isValid());
-}
+{}
TxnAsyncContext::~TxnAsyncContext()
{}
@@ -63,7 +59,7 @@ TxnAsyncContext::getOpStr() const
return qpid::asyncStore::AsyncOperation::getOpStr(m_op);
}
-TxnHandle
+TxnHandle&
TxnAsyncContext::getTransactionContext() const
{
return m_th;