Typed array equality operator logic updated
• Instead of calling to `_ref`, the same effect is achieved by calling to the base class assignment operator • No longer need to be expose `_ref`; set back to private & remove reference from gdextension_interface
This commit is contained in:
parent
209a446e36
commit
5b935881fc
4 changed files with 11 additions and 7 deletions
|
|
@ -44,6 +44,7 @@ struct ContainerType;
|
|||
|
||||
class Array {
|
||||
mutable ArrayPrivate *_p;
|
||||
void _ref(const Array &p_from) const;
|
||||
void _unref() const;
|
||||
|
||||
public:
|
||||
|
|
@ -109,8 +110,6 @@ public:
|
|||
ConstIterator begin() const;
|
||||
ConstIterator end() const;
|
||||
|
||||
void _ref(const Array &p_from) const;
|
||||
|
||||
Variant &operator[](int p_idx);
|
||||
const Variant &operator[](int p_idx) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue