summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-11-28 17:11:50 +0000
committerAlan Conway <aconway@apache.org>2013-11-28 17:11:50 +0000
commitb4c05e38e8dd045d58e1641e04b14bc5b5f62178 (patch)
tree3f523c682ea9b13cad6e7b98b48708640240160c /qpid/cpp/src
parent190fc8d37341a2483597c5949a61e88c91c5b5f0 (diff)
downloadqpid-python-b4c05e38e8dd045d58e1641e04b14bc5b5f62178.tar.gz
NO-JIRA: Fix use of intrusive_ptr.reset, not available on RHEL5.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1546398 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/ha/TxReplicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/ha/TxReplicator.cpp b/qpid/cpp/src/qpid/ha/TxReplicator.cpp
index 95afdb9759..9ae9dcce36 100644
--- a/qpid/cpp/src/qpid/ha/TxReplicator.cpp
+++ b/qpid/cpp/src/qpid/ha/TxReplicator.cpp
@@ -237,7 +237,7 @@ void TxReplicator::backups(const string& data, sys::Mutex::ScopedLock& l) {
void TxReplicator::end(sys::Mutex::ScopedLock&) {
ended = true;
- txBuffer.reset();
+ txBuffer = 0;
// QueueReplicator::destroy cancels subscription to the primary tx-queue
// which allows the primary to clean up resources.
sys::Mutex::ScopedUnlock u(lock);