mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Remove XERO_ITER_EL
This commit is contained in:
@@ -135,7 +135,7 @@ void XMLWriter_File::ElementXMB(const XMBData& xmb, XMBElement el)
|
||||
for (XMBAttribute attr : el.GetAttributes())
|
||||
writer.Attribute(xmb.GetAttributeString(attr.Name), attr.Value);
|
||||
|
||||
XERO_ITER_EL(el, child)
|
||||
for (XMBElement child : el.GetChildNodes())
|
||||
ElementXMB(xmb, child);
|
||||
}
|
||||
|
||||
|
||||
@@ -91,7 +91,4 @@ private:
|
||||
#define _XERO_CHILDREN _XERO_MAKE_UID1__(_children_, __LINE__)
|
||||
#define _XERO_I _XERO_MAKE_UID1__(_i_, __LINE__)
|
||||
|
||||
#define XERO_ITER_EL(parent_element, child_element) \
|
||||
for (XMBElement child_element : parent_element.GetChildNodes())
|
||||
|
||||
#endif // INCLUDED_XEROMYCES
|
||||
|
||||
Reference in New Issue
Block a user