diff options
| author | Wilson E. Alvarez | 2017-07-30 19:07:04 -0400 |
|---|---|---|
| committer | Wilson E. Alvarez | 2017-08-08 21:43:19 -0400 |
| commit | 6d112a68b685cde609d0d90b2c57f2db6a7b9df6 (patch) | |
| tree | 46a49619034e5e3f41fd3447c4c5727bfbfcdd64 /core/variant_call.cpp | |
| parent | 950b205609ce41ab4804196a125e91274eb20258 (diff) | |
| download | godot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.tar.gz godot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.tar.zst godot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.zip | |
Diffstat (limited to 'core/variant_call.cpp')
| -rw-r--r-- | core/variant_call.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 4a806aec6..aabc2546b 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -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) { } }; |
