|
@@ -54,7 +54,7 @@ public:
|
|
|
_FORCE_INLINE_ ConstIterator &operator--();
|
|
|
|
|
|
_FORCE_INLINE_ bool operator==(const ConstIterator &p_other) const { return element_ptr == p_other.element_ptr; }
|
|
|
- _FORCE_INLINE_ bool operator!=(const ConstIterator &p_other) const { return element_ptr == p_other.element_ptr; }
|
|
|
+ _FORCE_INLINE_ bool operator!=(const ConstIterator &p_other) const { return element_ptr != p_other.element_ptr; }
|
|
|
|
|
|
_FORCE_INLINE_ ConstIterator(const Variant *p_element_ptr, Variant *p_read_only = nullptr) :
|
|
|
element_ptr(p_element_ptr), read_only(p_read_only) {}
|