Added copy constructors and assignment operators to Array and Dictionary
This commit is contained in:
@@ -22,6 +22,8 @@ class Array {
|
||||
godot_array _godot_array;
|
||||
public:
|
||||
Array();
|
||||
Array(const Array & other);
|
||||
Array & operator=(const Array & other);
|
||||
|
||||
Array(const PoolByteArray& a);
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ class Dictionary {
|
||||
godot_dictionary _godot_dictionary;
|
||||
public:
|
||||
Dictionary();
|
||||
Dictionary(const Dictionary & other);
|
||||
Dictionary & operator=(const Dictionary & other);
|
||||
|
||||
void clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user