Fix Solaris bug.
authorScott Cantor <cantor.2@osu.edu>
Thu, 7 Aug 2008 18:38:46 +0000 (18:38 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 7 Aug 2008 18:38:46 +0000 (18:38 +0000)
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);