diff --git a/xo-alloc2/utest/DArenaIterator.test.cpp b/xo-alloc2/utest/DArenaIterator.test.cpp index 150c8dda..a42fc460 100644 --- a/xo-alloc2/utest/DArenaIterator.test.cpp +++ b/xo-alloc2/utest/DArenaIterator.test.cpp @@ -263,7 +263,7 @@ namespace xo { /* valid iterator can be advanced + reaches end */ { - ix.next(); + ++ix; //ix.next(); REQUIRE(arena.error_count_ == 0); REQUIRE(ix == end_ix); diff --git a/xo-alloc2/utest/DX1CollectorIterator.test.cpp b/xo-alloc2/utest/DX1CollectorIterator.test.cpp index 159986a4..941d1d00 100644 --- a/xo-alloc2/utest/DX1CollectorIterator.test.cpp +++ b/xo-alloc2/utest/DX1CollectorIterator.test.cpp @@ -193,7 +193,7 @@ namespace xo { } { - ix.next(); + ++ix; REQUIRE(ix == end_ix); }