From 4a2d398a0709e3a75b80e577892241164ffbfbd6 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine@gmail.com" Date: Wed, 4 Apr 2012 02:01:22 +0000 Subject: tests: Fixed PUGIXML_NO_STL compilation git-svn-id: http://pugixml.googlecode.com/svn/trunk@898 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_dom_traverse.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/test_dom_traverse.cpp b/tests/test_dom_traverse.cpp index 91fa4f7..738b53d 100644 --- a/tests/test_dom_traverse.cpp +++ b/tests/test_dom_traverse.cpp @@ -22,6 +22,12 @@ template static I move_iter(I base, int n) else while (n++) --base; return base; } + +static xml_named_node_iterator move_iter(xml_named_node_iterator base, int n) +{ + while (n--) ++base; + return base; +} #else template static I move_iter(I base, int n) { -- cgit v1.2.3