Add missing reference to const T Vector::get().
(cherry picked from commit 4feba93630
)
This commit is contained in:
parent
4d27433c1d
commit
564d7101b4
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public:
|
||||||
_FORCE_INLINE_ bool empty() const { return _cowdata.empty(); }
|
_FORCE_INLINE_ bool empty() const { return _cowdata.empty(); }
|
||||||
|
|
||||||
_FORCE_INLINE_ T get(int p_index) { return _cowdata.get(p_index); }
|
_FORCE_INLINE_ T get(int p_index) { return _cowdata.get(p_index); }
|
||||||
_FORCE_INLINE_ const T get(int p_index) const { return _cowdata.get(p_index); }
|
_FORCE_INLINE_ const T &get(int p_index) const { return _cowdata.get(p_index); }
|
||||||
_FORCE_INLINE_ void set(int p_index, const T &p_elem) { _cowdata.set(p_index, p_elem); }
|
_FORCE_INLINE_ void set(int p_index, const T &p_elem) { _cowdata.set(p_index, p_elem); }
|
||||||
_FORCE_INLINE_ int size() const { return _cowdata.size(); }
|
_FORCE_INLINE_ int size() const { return _cowdata.size(); }
|
||||||
Error resize(int p_size) { return _cowdata.resize(p_size); }
|
Error resize(int p_size) { return _cowdata.resize(p_size); }
|
||||||
|
|
Loading…
Reference in a new issue