summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-04-04 02:01:22 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-04-04 02:01:22 +0000
commit4a2d398a0709e3a75b80e577892241164ffbfbd6 (patch)
tree9078599dc5ec90c78000ccbbe23fba4f6ea54709 /tests
parentbda8e935e9d70e844f2b8921fc09a0c795ccf74f (diff)
tests: Fixed PUGIXML_NO_STL compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@898 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests')
-rw-r--r--tests/test_dom_traverse.cpp6
1 files changed, 6 insertions, 0 deletions
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 <typename I> 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 <typename I> static I move_iter(I base, int n)
{