Skip to content

Commit

Permalink
different enditerator experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
JSchoeberl committed Jan 4, 2025
1 parent c99f26e commit 9bc0273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsrc/core/hashtable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ namespace ngcore
ar & size & mask & used;
}

class EndIterator { };
struct EndIterator { };

class Iterator
{
Expand All @@ -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); }
};
Expand Down

0 comments on commit 9bc0273

Please sign in to comment.