mirror of
https://github.com/godotengine/godot
synced 2024-09-05 18:09:34 +00:00
Fix Vector's const iterator constructor
This commit is contained in:
parent
d04aa9a114
commit
ec70295c01
|
@ -229,7 +229,7 @@ public:
|
|||
_FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return elem_ptr == b.elem_ptr; }
|
||||
_FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return elem_ptr != b.elem_ptr; }
|
||||
|
||||
ConstIterator(T *p_ptr) { elem_ptr = p_ptr; }
|
||||
ConstIterator(const T *p_ptr) { elem_ptr = p_ptr; }
|
||||
ConstIterator() {}
|
||||
ConstIterator(const ConstIterator &p_it) { elem_ptr = p_it.elem_ptr; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue