diff options
author | Joan Fons <joan.fonssanchez@gmail.com> | 2021-07-15 10:47:20 +0200 |
---|---|---|
committer | Joan Fons <joan.fonssanchez@gmail.com> | 2021-07-15 10:47:20 +0200 |
commit | cfec291978b5268bc4b9d724ffa0b762e9702130 (patch) | |
tree | 2cf39c402d6223bace22ab1fc65b808f5033212f /core/templates | |
parent | f79958a30e1808b8ea71c6c051e7d41f073876fe (diff) |
Fix equality operators in List's ConstIterator
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/list.h b/core/templates/list.h index 6047b89670..c2e17a2f6f 100644 --- a/core/templates/list.h +++ b/core/templates/list.h @@ -176,8 +176,8 @@ public: return *this; } - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return E != b.E; } + _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return E == b.E; } + _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return E != b.E; } _FORCE_INLINE_ ConstIterator(const Element *p_E) { E = p_E; } _FORCE_INLINE_ ConstIterator() {} |