Remove duplicated code

This commit is contained in:
Oleg Korshul
2023-11-23 22:39:26 +03:00
parent 4988c1853e
commit 6ebdc0f530
6 changed files with 580 additions and 1309 deletions

View File

@ -250,7 +250,7 @@ namespace XmlUtils
std::vector<XmlUtils::CXmlNode> oNodes; \
if (node.GetNodes(name, oNodes)) \
{ \
int nCount = oNodes.size(); \
size_t nCount = oNodes.size(); \
for (size_t i = 0; i < nCount; ++i) \
{ \
XmlUtils::CXmlNode & oItem = oNodes[i]; \