summaryrefslogtreecommitdiffstats
path: root/include/core/String.hpp
diff options
context:
space:
mode:
authorDhruvMaroo <dhruvmaru007@gmail.com>2021-05-31 00:52:36 +0530
committerDhruvMaroo <dhruvmaru007@gmail.com>2021-05-31 00:52:36 +0530
commitcd05371ce86cc5a4d4fb66187f4df1edc2f03e16 (patch)
tree0673bfdaea85460d5058e44413ee07e92083359f /include/core/String.hpp
parent492285f681e68e61431380283e7a04f56de4cb08 (diff)
downloadredot-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.hpp1
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();