Author: astitcher
Date: Thu Mar  7 21:16:37 2013
New Revision: 1454105

URL: http://svn.apache.org/r1454105
Log:
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)

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/Selector.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Selector.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Selector.cpp?rev=1454105&r1=1454104&r2=1454105&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Selector.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Selector.cpp Thu Mar  7 21:16:37 2013
@@ -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_S
 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));
 }
 
 }}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to