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 | 9a11ca003aeb5a86a580f9ae87cd99e1cf2800d3 (patch) | |
| tree | 75f333322b3f6ec3fedc113f317788649f5cf652 /qpid/cpp/src/tests/TransactionObserverTest.cpp | |
| parent | b3453c3a916dbe59bdccd8bd44314470b2931ae6 (diff) | |
| download | qpid-python-9a11ca003aeb5a86a580f9ae87cd99e1cf2800d3.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@1510596 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TransactionObserverTest.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/TransactionObserverTest.cpp | 4 |
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); } }; |
