From 2cb551c95b03612f9dd680504d30bc1d18ea31ac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Feb 2019 15:23:46 +0300 Subject: code cleaning / warning fixes --- include/m_xml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_xml.h b/include/m_xml.h index 2403b20997..8047c3e205 100644 --- a/include/m_xml.h +++ b/include/m_xml.h @@ -178,7 +178,7 @@ public: TiXmlFilter(const TiXmlNode *pNode, const char *pszNodeName) : m_pszFilter(pszNodeName) { - m_pFirst = (pNode) ? pNode->FirstChildElement() : nullptr; + m_pFirst = (pNode) ? pNode->FirstChildElement(pszNodeName) : nullptr; } TiXmlFilterIterator begin() -- cgit v1.2.3