From d79477859f80a2ffe685bd1b5cd36ebdd42fda61 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sat, 12 Feb 2011 11:04:44 +0000 Subject: 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 --- contrib/foreach.hpp | 4 ++-- 1 file 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; -- cgit v1.2.3