diff options
| author | Alan Conway <aconway@apache.org> | 2013-08-05 16:35:03 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-08-05 16:35:03 +0000 |
| commit | bdf10fe22c76c941c585de90ba55f549cadc217f (patch) | |
| tree | f09f4e518dfa9369520d4543a230441fb0d868cd /cpp/src/tests/TransactionObserverTest.cpp | |
| parent | fb5035f7e1462ccf52c67b0c77e2cb1db24c47d0 (diff) | |
| download | qpid-python-bdf10fe22c76c941c585de90ba55f549cadc217f.tar.gz | |
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/qpid@1510596 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/TransactionObserverTest.cpp')
| -rw-r--r-- | cpp/src/tests/TransactionObserverTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/tests/TransactionObserverTest.cpp b/cpp/src/tests/TransactionObserverTest.cpp index bc65c493c8..fd1c331ae7 100644 --- a/cpp/src/tests/TransactionObserverTest.cpp +++ b/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); } }; |
