From 13edc3a973c30287e7e67693721733011ed206c2 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 --- utest/DArenaIterator.test.cpp | 2 +- utest/DX1CollectorIterator.test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utest/DArenaIterator.test.cpp b/utest/DArenaIterator.test.cpp index 150c8dd..a42fc46 100644 --- a/utest/DArenaIterator.test.cpp +++ b/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/utest/DX1CollectorIterator.test.cpp b/utest/DX1CollectorIterator.test.cpp index 159986a..941d1d0 100644 --- a/utest/DX1CollectorIterator.test.cpp +++ b/utest/DX1CollectorIterator.test.cpp @@ -193,7 +193,7 @@ namespace xo { } { - ix.next(); + ++ix; REQUIRE(ix == end_ix); }