summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/TransactionObserverTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/TransactionObserverTest.cpp')
-rw-r--r--qpid/cpp/src/tests/TransactionObserverTest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/TransactionObserverTest.cpp b/qpid/cpp/src/tests/TransactionObserverTest.cpp
index bc65c493c8..fd1c331ae7 100644
--- a/qpid/cpp/src/tests/TransactionObserverTest.cpp
+++ b/qpid/cpp/src/tests/TransactionObserverTest.cpp
@@ -30,7 +30,6 @@
#include <boost/bind.hpp>
#include <boost/function.hpp>
-#include <boost/make_shared.hpp>
#include <boost/lexical_cast.hpp>
#include <iostream>
#include <vector>
@@ -41,7 +40,6 @@ namespace tests {
using framing::SequenceSet;
using messaging::Message;
using boost::shared_ptr;
-using boost::make_shared;
using namespace boost::assign;
using namespace boost;
@@ -81,7 +79,7 @@ struct MockBrokerObserver : public BrokerObserver {
MockBrokerObserver(bool prep_=true) : prep(prep_) {}
void startTx(const shared_ptr<TxBuffer>& buffer) {
- tx = make_shared<MockTransactionObserver>(prep);
+ tx.reset(new MockTransactionObserver(prep));
buffer->setObserver(tx);
}
};