From 21052dd550a84d30403cac46e8f57af6cb07a238 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 7 Mar 2013 21:16:37 +0000 Subject: 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 --- qpid/cpp/src/qpid/broker/Selector.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/cpp/src') 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 #include "qpid/sys/unordered_map.h" -#include #include #include @@ -182,7 +181,7 @@ const boost::shared_ptr NULL_SELECTOR = boost::shared_ptr(); boost::shared_ptr returnSelector(const string& e) { if (e.empty()) return NULL_SELECTOR; - return boost::make_shared(e); + return boost::shared_ptr(new Selector(e)); } }} -- cgit v1.2.1