SSPCPP-616 - clean up concatenated string literals
[shibboleth/cpp-opensaml.git] / saml / saml2 / metadata / impl / EntityAttributesEntityMatcher.cpp
index f65608c..2f48208 100644 (file)
@@ -83,7 +83,7 @@ namespace opensaml {
 
 EntityAttributesEntityMatcher::EntityAttributesEntityMatcher(const DOMElement* e)
     : m_trimTags(XMLHelper::getAttrBool(e, false, trimTags)),
-        m_log(Category::getInstance(SAML_LOGCAT".EntityMatcher.EntityAttributes"))
+        m_log(Category::getInstance(SAML_LOGCAT ".EntityMatcher.EntityAttributes"))
 {
     // Check for shorthand syntax.
     if (e && e->hasAttributeNS(nullptr, attributeName) && (e->hasAttributeNS(nullptr, attributeValue) || e->hasAttributeNS(nullptr, attributeValueRegex))) {
@@ -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);
     }