added class member, safety check in the destructor

This commit is contained in:
DhruvMaroo
2021-05-31 00:52:36 +05:30
parent 492285f681
commit cd05371ce8
2 changed files with 9 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ class CharString {
friend class String;
godot_char_string _char_string;
bool _deleted = false;
public:
~CharString();