From 9a11ca003aeb5a86a580f9ae87cd99e1cf2800d3 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 5 Aug 2013 16:35:03 +0000 Subject: NO-JIRA: Remove use of boost::make_shared, not availble on some older versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1510596 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/TransactionObserverTest.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'qpid/cpp/src/tests/TransactionObserverTest.cpp') 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 #include -#include #include #include #include @@ -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& buffer) { - tx = make_shared(prep); + tx.reset(new MockTransactionObserver(prep)); buffer->setObserver(tx); } }; -- cgit v1.2.1