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:
parent
81e4707fca
commit
d79477859f
@ -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};
|
xml_node_children_adapter result = {node};
|
||||||
return result;
|
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};
|
xml_node_attribute_adapter result = {node};
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user