diff options
Diffstat (limited to 'src/ir/iteration.h')
-rw-r--r-- | src/ir/iteration.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir/iteration.h b/src/ir/iteration.h index b3553f1ec..29d183678 100644 --- a/src/ir/iteration.h +++ b/src/ir/iteration.h @@ -53,6 +53,8 @@ template<class Specific> class AbstractChildIterator { return index != other.index || &parent != &(other.parent); } + bool operator==(const Iterator& other) const { return !(*this != other); } + void operator++() { index++; } Expression*& operator*() { |