Fix Solaris bug.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 7 Aug 2008 18:38:46 +0000 (18:38 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 7 Aug 2008 18:38:46 +0000 (18:38 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@2867 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/attribute/filtering/impl/XMLAttributeFilter.cpp

index 55052e0..5245b0a 100644 (file)
@@ -301,9 +301,9 @@ pair< string,pair<const MatchFunctor*,const MatchFunctor*> > XMLFilterImpl::buil
 
     if (perm || deny) {
         if (*id)
-            return m_attrRules[id] = pair< string,pair<const MatchFunctor*,const MatchFunctor*> >(attrID.get(), make_pair(perm,deny));
+            return m_attrRules[id] = pair< string,pair<const MatchFunctor*,const MatchFunctor*> >(attrID.get(), pair<const MatchFunctor*,const MatchFunctor*>(perm,deny));
         else
-            return pair< string,pair<const MatchFunctor*,const MatchFunctor*> >(attrID.get(), make_pair(perm,deny));
+            return pair< string,pair<const MatchFunctor*,const MatchFunctor*> >(attrID.get(), pair<const MatchFunctor*,const MatchFunctor*>(perm,deny));
     }
 
     m_log.warn("skipping AttributeRule (%s), permit and denial rule(s) invalid or missing", id);