summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-02-12 11:04:44 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-02-12 11:04:44 +0000
commitd79477859f80a2ffe685bd1b5cd36ebdd42fda61 (patch)
treec40548b99b0df1ade30f8423149805e9e88b7d8c /contrib
parent81e4707fcaa537da96b5f7a3a1bd2119ee959672 (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
Diffstat (limited to 'contrib')
-rw-r--r--contrib/foreach.hpp4
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;