X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltooling%2FAbstractComplexElement.cpp;h=9c7a276d0fe43128c08d83eb9bce818b8cc6e2eb;hp=fa1e6eff7bbec636cea2caa115e13b58ab45b672;hb=fb0b932235484e41580e8e8ae7b7e36b02168414;hpb=e93ce2c962c535ff88f26427e9aeb572f83976e1 diff --git a/xmltooling/AbstractComplexElement.cpp b/xmltooling/AbstractComplexElement.cpp index fa1e6ef..9c7a276 100644 --- a/xmltooling/AbstractComplexElement.cpp +++ b/xmltooling/AbstractComplexElement.cpp @@ -64,7 +64,7 @@ bool AbstractComplexElement::hasChildren() const { if (m_children.empty()) return false; - return (find_if(m_children.begin(), m_children.end(), (_1 != nullptr)) != m_children.end()); + return (find_if(m_children.begin(), m_children.end(), (_1 != ((XMLObject*)nullptr))) != m_children.end()); } const list& AbstractComplexElement::getOrderedChildren() const