diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2011-02-12 11:04:44 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2011-02-12 11:04:44 +0000 |
commit | d79477859f80a2ffe685bd1b5cd36ebdd42fda61 (patch) | |
tree | c40548b99b0df1ade30f8423149805e9e88b7d8c | |
parent | 81e4707fcaa537da96b5f7a3a1bd2119ee959672 (diff) |
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
-rw-r--r-- | contrib/foreach.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/foreach.hpp b/contrib/foreach.hpp index efe6d6d..2abec19 100644 --- a/contrib/foreach.hpp +++ b/contrib/foreach.hpp @@ -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; |