git-svn-id: https://svn.shibboleth.net/cpp-opensaml/branches/REL_2@761
fb386ef7-a10c-0410-8ebf-
fd3f8e989ab0
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);
}
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();