1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-08-02 12:47:07 +01:00

MacroMagic: inline functions to avoid double symbol issues

This commit is contained in:
2015-12-23 14:20:05 +00:00
parent 200de272ed
commit 1e0be161e5
3 changed files with 21 additions and 6 deletions

View File

@@ -52,6 +52,20 @@ void XmlReader::pop(void)
node_ = node_.parent();
}
bool XmlReader::nextElement(const std::string &s)
{
if (node_.next_sibling(s.c_str()))
{
node_ = node_.next_sibling(s.c_str());
return true;
}
else
{
return false;
}
}
template <>
void XmlReader::readDefault(const string &s, string &output)
{