summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/nativescript/nativescript.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-10-04 10:09:20 +0200
committerGitHub <noreply@github.com>2018-10-04 10:09:20 +0200
commitcfa373c69f6af64d9fce8f1773a4b795f361a34c (patch)
tree8a083da57b2c6fccf47af4135a2298199869d833 /modules/gdnative/nativescript/nativescript.h
parentbdf898e38d8f7d87496a4ba30a2c2da2f6771988 (diff)
parente9cb01e3665015616f7da05fb449eb7def359712 (diff)
downloadredot-engine-cfa373c69f6af64d9fce8f1773a4b795f361a34c.tar.gz
Merge pull request #22708 from akien-mga/fix-warnings
Fix warnings about non-static data member initializers in nativescript
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.h')
-rw-r--r--modules/gdnative/nativescript/nativescript.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/modules/gdnative/nativescript/nativescript.h b/modules/gdnative/nativescript/nativescript.h
index ade8ffd280..54ad31255c 100644
--- a/modules/gdnative/nativescript/nativescript.h
+++ b/modules/gdnative/nativescript/nativescript.h
@@ -277,18 +277,14 @@ public:
Map<String, Set<NativeScript *> > library_script_users;
- const StringName _init_call_type = "nativescript_init";
- const StringName _init_call_name = "nativescript_init";
-
- const StringName _terminate_call_name = "nativescript_terminate";
-
- const StringName _noarg_call_type = "nativescript_no_arg";
-
- const StringName _frame_call_name = "nativescript_frame";
-
+ StringName _init_call_type;
+ StringName _init_call_name;
+ StringName _terminate_call_name;
+ StringName _noarg_call_type;
+ StringName _frame_call_name;
#ifndef NO_THREADS
- const StringName _thread_enter_call_name = "nativescript_thread_enter";
- const StringName _thread_exit_call_name = "nativescript_thread_exit";
+ StringName _thread_enter_call_name;
+ StringName _thread_exit_call_name;
#endif
NativeScriptLanguage();