mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user