From c860c96b46d0d9dbab87dddeff00ca8a26259d89 Mon Sep 17 00:00:00 2001 From: "Charles E. Rolke" Date: Thu, 17 Jul 2014 17:35:01 +0000 Subject: QPID-5902: Replace boost::make_shared with boost::shared_ptr git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611409 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/acl/AclData.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/qpid/acl/AclData.cpp b/qpid/cpp/src/qpid/acl/AclData.cpp index f193eec372..d325442353 100644 --- a/qpid/cpp/src/qpid/acl/AclData.cpp +++ b/qpid/cpp/src/qpid/acl/AclData.cpp @@ -21,7 +21,6 @@ #include "qpid/sys/IntegerTypes.h" #include #include -#include namespace qpid { namespace acl { @@ -632,7 +631,7 @@ boost::shared_ptr AclData::getUserConnectionRules( if (itrRule == connBWHostsRuleSettings->end()) { return boost::shared_ptr(); } else { - return boost::make_shared(itrRule->second); + return boost::shared_ptr(&itrRule->second); } } -- cgit v1.2.1