File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2477,15 +2477,15 @@ def make_varargs_template(
2477
2477
function_signature += " {"
2478
2478
result .append (function_signature )
2479
2479
2480
- args_array = f"\t std::array<Variant, { len (method_arguments )} + sizeof...(Args)> variant_args{{ "
2480
+ args_array = f"\t std::array<Variant, { len (method_arguments )} + sizeof...(Args)> variant_args{{{{ "
2481
2481
for argument in method_arguments :
2482
2482
if argument ["type" ] == "Variant" :
2483
2483
args_array += escape_argument (argument ["name" ])
2484
2484
else :
2485
2485
args_array += f'Variant({ escape_argument (argument ["name" ])} )'
2486
2486
args_array += ", "
2487
2487
2488
- args_array += "Variant(p_args)... };"
2488
+ args_array += "Variant(p_args)... }} ;"
2489
2489
result .append (args_array )
2490
2490
result .append (f"\t std::array<const Variant *, { len (method_arguments )} + sizeof...(Args)> call_args;" )
2491
2491
result .append ("\t for (size_t i = 0; i < variant_args.size(); i++) {" )
You can’t perform that action at this time.
0 commit comments