From b4c05e38e8dd045d58e1641e04b14bc5b5f62178 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 28 Nov 2013 17:11:50 +0000 Subject: 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 --- qpid/cpp/src/qpid/ha/TxReplicator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src') 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); -- cgit v1.2.1