You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Moved member variables from constructor to initialization list
This commit is contained in:
@@ -130,9 +130,9 @@ struct _VariantCall {
|
||||
StringName name;
|
||||
Variant::Type type;
|
||||
Arg() { type = Variant::NIL; }
|
||||
Arg(Variant::Type p_type, const StringName &p_name) {
|
||||
name = p_name;
|
||||
type = p_type;
|
||||
Arg(Variant::Type p_type, const StringName &p_name)
|
||||
: name(p_name),
|
||||
type(p_type) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user