summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-03-07 21:16:37 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-03-07 21:16:37 +0000
commit0b2a615195407b63f69b81f5fcbf3faba65bb31b (patch)
treeb025180ae40e2aeec80d9c4afd49b574805c96d5 /cpp/src
parent6f272f069e2f1e2ef9d490f32a2a94e151825fd7 (diff)
downloadqpid-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/src')
-rw-r--r--cpp/src/qpid/broker/Selector.cpp3
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));
}
}}