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 | 0b2a615195407b63f69b81f5fcbf3faba65bb31b (patch) | |
| tree | b025180ae40e2aeec80d9c4afd49b574805c96d5 /cpp | |
| parent | 6f272f069e2f1e2ef9d490f32a2a94e151825fd7 (diff) | |
| download | qpid-python-0b2a615195407b63f69b81f5fcbf3faba65bb31b.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/qpid@1454105 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Selector.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Selector.cpp b/cpp/src/qpid/broker/Selector.cpp index 62d2c43005..d3d4ced4df 100644 --- a/cpp/src/qpid/broker/Selector.cpp +++ b/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)); } }} |
