summaryrefslogtreecommitdiffstats
path: root/core/func_ref.cpp
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2018-12-08 15:07:33 -0500
committerWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2018-12-11 18:33:01 -0500
commit08f22f1cf0e0d133b7ea763dc3886cf462c6fcb2 (patch)
tree5f4321fb0e3150ca159598b6badcf1a90d1fdcd6 /core/func_ref.cpp
parent41d1dba35fc851258d5aabad819d09f6a43e324c (diff)
downloadredot-engine-08f22f1cf0e0d133b7ea763dc3886cf462c6fcb2.tar.gz
Moved member variables to initializer list
Diffstat (limited to 'core/func_ref.cpp')
-rw-r--r--core/func_ref.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/func_ref.cpp b/core/func_ref.cpp
index c707f1c4cb..d9d1a2b799 100644
--- a/core/func_ref.cpp
+++ b/core/func_ref.cpp
@@ -69,7 +69,6 @@ void FuncRef::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_function", "name"), &FuncRef::set_function);
}
-FuncRef::FuncRef() {
-
- id = 0;
+FuncRef::FuncRef() :
+ id(0) {
}