contrib: Fixed foreach helper (children and attributes functions are now inline)

git-svn-id: http://pugixml.googlecode.com/svn/trunk@804 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2011-02-12 11:04:44 +00:00
parent 81e4707fca
commit d79477859f

View File

@ -68,7 +68,7 @@ namespace pugi
}
};
xml_node_children_adapter children(const pugi::xml_node& node)
inline xml_node_children_adapter children(const pugi::xml_node& node)
{
xml_node_children_adapter result = {node};
return result;
@ -92,7 +92,7 @@ namespace pugi
}
};
xml_node_attribute_adapter attributes(const pugi::xml_node& node)
inline xml_node_attribute_adapter attributes(const pugi::xml_node& node)
{
xml_node_attribute_adapter result = {node};
return result;