mirror of https://github.com/godotengine/godot
Fix equality operators in List's ConstIterator
This commit is contained in:
parent
f79958a30e
commit
cfec291978
|
|
@ -176,8 +176,8 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
_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 Iterator &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(const Element *p_E) { E = p_E; }
|
||||||
_FORCE_INLINE_ ConstIterator() {}
|
_FORCE_INLINE_ ConstIterator() {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue