diff options
author | DhruvMaroo <dhruvmaru007@gmail.com> | 2021-05-31 00:52:36 +0530 |
---|---|---|
committer | DhruvMaroo <dhruvmaru007@gmail.com> | 2021-05-31 00:52:36 +0530 |
commit | cd05371ce86cc5a4d4fb66187f4df1edc2f03e16 (patch) | |
tree | 0673bfdaea85460d5058e44413ee07e92083359f /include/core/String.hpp | |
parent | 492285f681e68e61431380283e7a04f56de4cb08 (diff) | |
download | redot-cpp-cd05371ce86cc5a4d4fb66187f4df1edc2f03e16.tar.gz |
added class member, safety check in the destructor
Diffstat (limited to 'include/core/String.hpp')
-rw-r--r-- | include/core/String.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp index fa3944d..4992adb 100644 --- a/include/core/String.hpp +++ b/include/core/String.hpp @@ -17,6 +17,7 @@ class CharString { friend class String; godot_char_string _char_string; + bool _deleted = false; public: ~CharString(); |