summaryrefslogtreecommitdiff
path: root/cpp/src/tests/TransactionObserverTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-10-29 15:23:36 +0000
committerAlan Conway <aconway@apache.org>2013-10-29 15:23:36 +0000
commit4a3eb469d5eb8c97c719c70e42814cd703e12fbd (patch)
tree5fefbf7b5c2f327275c8bd929ed83281ec54114d /cpp/src/tests/TransactionObserverTest.cpp
parentfd23db50312860de7585001588fae44b4f8e9480 (diff)
downloadqpid-python-4a3eb469d5eb8c97c719c70e42814cd703e12fbd.tar.gz
QPID-5139: Make TxBuffer inherit from AsyncCompletion.
Switched from shared_ptr to intrusive_ptr for TxBuffer and DtxBuffer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1536752 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/TransactionObserverTest.cpp')
-rw-r--r--cpp/src/tests/TransactionObserverTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/TransactionObserverTest.cpp b/cpp/src/tests/TransactionObserverTest.cpp
index fd1c331ae7..2a7d94b1ae 100644
--- a/cpp/src/tests/TransactionObserverTest.cpp
+++ b/cpp/src/tests/TransactionObserverTest.cpp
@@ -78,7 +78,7 @@ struct MockBrokerObserver : public BrokerObserver {
MockBrokerObserver(bool prep_=true) : prep(prep_) {}
- void startTx(const shared_ptr<TxBuffer>& buffer) {
+ void startTx(const intrusive_ptr<TxBuffer>& buffer) {
tx.reset(new MockTransactionObserver(prep));
buffer->setObserver(tx);
}