projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some gcc compiler issues
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
AbstractComplexElement.cpp
diff --git
a/xmltooling/AbstractComplexElement.cpp
b/xmltooling/AbstractComplexElement.cpp
index
fa1e6ef
..
9c7a276
100644
(file)
--- a/
xmltooling/AbstractComplexElement.cpp
+++ b/
xmltooling/AbstractComplexElement.cpp
@@
-64,7
+64,7
@@
bool AbstractComplexElement::hasChildren() const
{
if (m_children.empty())
return false;
{
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<XMLObject*>& AbstractComplexElement::getOrderedChildren() const
}
const list<XMLObject*>& AbstractComplexElement::getOrderedChildren() const