summaryrefslogtreecommitdiff
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
commit21052dd550a84d30403cac46e8f57af6cb07a238 (patch)
tree89ec75b4a43653d587298c0f71fac3db2863acf2
parent7c3ae90e8eec26e7b5d8790a8ec60ffef7f11775 (diff)
downloadqpid-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.cpp3
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));
}
}}