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) {