summaryrefslogtreecommitdiff
path: root/cpp
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
commitaa715f98e74a231c07b59a845cd0a37b18e7e802 (patch)
treeebeb7298364447e196b9cdc69b0c315b5801c778 /cpp
parentb756e6251f0b00b2388365cb9c6460b345bcf63d (diff)
downloadqpid-python-aa715f98e74a231c07b59a845cd0a37b18e7e802.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/qpid@1546398 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/ha/TxReplicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/ha/TxReplicator.cpp b/cpp/src/qpid/ha/TxReplicator.cpp
index 95afdb9759..9ae9dcce36 100644
--- a/cpp/src/qpid/ha/TxReplicator.cpp
+++ b/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);