summaryrefslogtreecommitdiff
path: root/cpp/src/tests/TransactionObserverTest.cpp
diff options
context:
space:
mode:
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);
}