diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-04 12:04:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-04 12:04:54 +0200 |
commit | f92a29adfea7fb37a306da2202738ebfa1fb79b2 (patch) | |
tree | 4883385e9ea2f977c38909b98cf385e82b3fe29b /modules/gdnative/nativescript/nativescript.h | |
parent | cfa373c69f6af64d9fce8f1773a4b795f361a34c (diff) | |
parent | 97b9697ea2601f0fd92e3f326c6db29e0598638f (diff) |
Merge pull request #22710 from akien-mga/fix-warnings
Fix some OSX and iOS Clang warnings
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.h')
-rw-r--r-- | modules/gdnative/nativescript/nativescript.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gdnative/nativescript/nativescript.h b/modules/gdnative/nativescript/nativescript.h index 54ad31255c..51370f5fbf 100644 --- a/modules/gdnative/nativescript/nativescript.h +++ b/modules/gdnative/nativescript/nativescript.h @@ -368,11 +368,14 @@ inline NativeScriptDesc *NativeScript::get_script_desc() const { class NativeReloadNode : public Node { GDCLASS(NativeReloadNode, Node) - bool unloaded = false; + bool unloaded; public: static void _bind_methods(); void _notification(int p_what); + + NativeReloadNode() : + unloaded(false) {} }; class ResourceFormatLoaderNativeScript : public ResourceFormatLoader { |