diff options
author | Andrew Stitcher <astitcher@apache.org> | 2013-03-07 21:16:37 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2013-03-07 21:16:37 +0000 |
commit | 21052dd550a84d30403cac46e8f57af6cb07a238 (patch) | |
tree | 89ec75b4a43653d587298c0f71fac3db2863acf2 | |
parent | 7c3ae90e8eec26e7b5d8790a8ec60ffef7f11775 (diff) | |
download | qpid-python-21052dd550a84d30403cac46e8f57af6cb07a238.tar.gz |
QPID-4558: Selectors for C++ broker - don't use boost::make_shared<>()
(It's not available in boost 1.33 - which is what RHEL5 has available - sigh)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454105 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/broker/Selector.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/broker/Selector.cpp b/qpid/cpp/src/qpid/broker/Selector.cpp index 62d2c43005..d3d4ced4df 100644 --- a/qpid/cpp/src/qpid/broker/Selector.cpp +++ b/qpid/cpp/src/qpid/broker/Selector.cpp @@ -31,7 +31,6 @@ #include <sstream> #include "qpid/sys/unordered_map.h" -#include <boost/make_shared.hpp> #include <boost/lexical_cast.hpp> #include <boost/ptr_container/ptr_vector.hpp> @@ -182,7 +181,7 @@ const boost::shared_ptr<Selector> NULL_SELECTOR = boost::shared_ptr<Selector>(); boost::shared_ptr<Selector> returnSelector(const string& e) { if (e.empty()) return NULL_SELECTOR; - return boost::make_shared<Selector>(e); + return boost::shared_ptr<Selector>(new Selector(e)); } }} |