https://issues.shibboleth.net/jira/browse/CPPOST-83
authorScott Cantor <cantor.2@osu.edu>
Sun, 24 Feb 2013 22:33:11 +0000 (22:33 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sun, 24 Feb 2013 22:33:11 +0000 (22:33 +0000)
saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp
saml/saml2/metadata/impl/EntityAttributesMetadataFilter.cpp

index f65608c..1e4d1aa 100644 (file)
@@ -107,7 +107,7 @@ EntityAttributesEntityMatcher::EntityAttributesEntityMatcher(const DOMElement* e
     DOMElement* child = XMLHelper::getFirstChildElement(e, samlconstants::SAML20_NS, Attribute::LOCAL_NAME);
     while (child) {
         boost::shared_ptr<XMLObject> obj(AttributeBuilder::buildOneFromElement(child));
-        m_tags.push_back(boost::shared_dynamic_cast<Attribute>(obj));
+        m_tags.push_back(boost::dynamic_pointer_cast<Attribute>(obj));
         child = XMLHelper::getNextSiblingElement(child, samlconstants::SAML20_NS, Attribute::LOCAL_NAME);
     }
 
index bb1bfdf..3038a57 100644 (file)
@@ -84,7 +84,7 @@ EntityAttributesMetadataFilter::EntityAttributesMetadataFilter(const DOMElement*
     while (child) {
         if (XMLHelper::isNodeNamed(child, samlconstants::SAML20_NS, Attribute::LOCAL_NAME)) {
             boost::shared_ptr<XMLObject> obj(AttributeBuilder::buildOneFromElement(child));
-            m_attributes.push_back(boost::shared_dynamic_cast<Attribute>(obj));
+            m_attributes.push_back(boost::dynamic_pointer_cast<Attribute>(obj));
         }
         else if (XMLString::equals(child->getLocalName(), Entity)) {
             const XMLCh* eid = child->getTextContent();