From af1707aa036fed5abf995a5108666a78a9ca0381 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 21 Dec 2025 15:28:25 -0500 Subject: [PATCH] xo-alloc2: utest: verify ++op for alloc iterators --- xo-alloc2/utest/DArenaIterator.test.cpp | 2 +- xo-alloc2/utest/DX1CollectorIterator.test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }