Moved member variables to initializer list
This commit is contained in:
parent
41d1dba35f
commit
08f22f1cf0
44 changed files with 609 additions and 694 deletions
|
|
@ -2157,13 +2157,13 @@ void Expression::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("get_error_text"), &Expression::get_error_text);
|
||||
}
|
||||
|
||||
Expression::Expression() {
|
||||
output_type = Variant::NIL;
|
||||
error_set = true;
|
||||
root = NULL;
|
||||
nodes = NULL;
|
||||
sequenced = false;
|
||||
execution_error = false;
|
||||
Expression::Expression() :
|
||||
output_type(Variant::NIL),
|
||||
sequenced(false),
|
||||
error_set(true),
|
||||
root(NULL),
|
||||
nodes(NULL),
|
||||
execution_error(false) {
|
||||
}
|
||||
|
||||
Expression::~Expression() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue