From 9bc027378494fb4a06fff6dfdbcbc5b914b73513 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Sat, 4 Jan 2025 12:37:38 +0100 Subject: [PATCH] different enditerator experiment --- libsrc/core/hashtable.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/core/hashtable.hpp b/libsrc/core/hashtable.hpp index 64bf212e..336b5071 100644 --- a/libsrc/core/hashtable.hpp +++ b/libsrc/core/hashtable.hpp @@ -842,7 +842,7 @@ namespace ngcore ar & size & mask & used; } - class EndIterator { }; + struct EndIterator { }; class Iterator { @@ -861,7 +861,7 @@ namespace ngcore return *this; } - bool operator!= (EndIterator & it2) { return nr != tab.Size(); } + bool operator!= (EndIterator it2) { return nr != tab.Size(); } auto operator* () const { return tab.GetBoth(nr); } };