diff options
author | Rafał Mikrut <mikrutrafal@protonmail.com> | 2021-02-08 10:57:18 +0100 |
---|---|---|
committer | Rafał Mikrut <mikrutrafal@protonmail.com> | 2021-02-08 10:57:18 +0100 |
commit | f7209b459b4faaae9d93bfb6ac5346eb41787f92 (patch) | |
tree | 790808a314837cd3f16c9d229401882046bd6fae /modules/gdnative/gdnative_library_editor_plugin.h | |
parent | 57e2822a05c29db3980ad243c37a34acf6c4d14b (diff) | |
download | redot-engine-f7209b459b4faaae9d93bfb6ac5346eb41787f92.tar.gz |
Initialize class/struct variables with default values in modules/
Diffstat (limited to 'modules/gdnative/gdnative_library_editor_plugin.h')
-rw-r--r-- | modules/gdnative/gdnative_library_editor_plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdnative/gdnative_library_editor_plugin.h b/modules/gdnative/gdnative_library_editor_plugin.h index 184db3d817..61afb1aaaa 100644 --- a/modules/gdnative/gdnative_library_editor_plugin.h +++ b/modules/gdnative/gdnative_library_editor_plugin.h @@ -95,9 +95,9 @@ public: class GDNativeLibraryEditorPlugin : public EditorPlugin { GDCLASS(GDNativeLibraryEditorPlugin, EditorPlugin); - GDNativeLibraryEditor *library_editor; - EditorNode *editor; - Button *button; + GDNativeLibraryEditor *library_editor = nullptr; + EditorNode *editor = nullptr; + Button *button = nullptr; public: virtual String get_name() const override { return "GDNativeLibrary"; } |