Added copy constructors and assignment operators to Array and Dictionary

This commit is contained in:
Marc Gilleron
2018-01-17 01:57:01 +01:00
parent 7dde412e26
commit 00f089d7ed
4 changed files with 28 additions and 0 deletions

View File

@@ -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);

View File

@@ -13,6 +13,8 @@ class Dictionary {
godot_dictionary _godot_dictionary;
public:
Dictionary();
Dictionary(const Dictionary & other);
Dictionary & operator=(const Dictionary & other);
void clear();