diff options
Diffstat (limited to 'tests/test_dom_traverse.cpp')
-rw-r--r-- | tests/test_dom_traverse.cpp | 6 |
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) { |