Fix Set range iterator implementation

This commit is contained in:
Raul Santos 2021-07-27 02:44:58 +02:00
parent e6a544c169
commit c8a94a621d

View file

@ -71,6 +71,9 @@ public:
Element *prev() {
return _prev;
}
T &get() {
return value;
}
const T &get() const {
return value;
};
@ -118,8 +121,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() {}