diff options
| author | Alan Conway <aconway@apache.org> | 2013-10-29 15:23:36 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-10-29 15:23:36 +0000 |
| commit | 7033bf67ab672fafc57d374f8a727cc8e4b7c54e (patch) | |
| tree | f077354174c8ab5e303b8e848d277a7308911564 /qpid/cpp/src/tests/TransactionObserverTest.cpp | |
| parent | 8303ede7e98c64c44d8186552873c091130485a9 (diff) | |
| download | qpid-python-7033bf67ab672fafc57d374f8a727cc8e4b7c54e.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@1536752 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TransactionObserverTest.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/TransactionObserverTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/TransactionObserverTest.cpp b/qpid/cpp/src/tests/TransactionObserverTest.cpp index fd1c331ae7..2a7d94b1ae 100644 --- a/qpid/cpp/src/tests/TransactionObserverTest.cpp +++ b/qpid/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); } |
