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 @@ -2446,15 +2446,15 @@ def make_varargs_template(
2446
2446
function_signature += " {"
2447
2447
result .append (function_signature )
2448
2448
2449
- args_array = f"\t std::array<Variant, { len (method_arguments )} + sizeof...(Args)> variant_args{{ "
2449
+ args_array = f"\t std::array<Variant, { len (method_arguments )} + sizeof...(Args)> variant_args{{{{ "
2450
2450
for argument in method_arguments :
2451
2451
if argument ["type" ] == "Variant" :
2452
2452
args_array += escape_argument (argument ["name" ])
2453
2453
else :
2454
2454
args_array += f'Variant({ escape_argument (argument ["name" ])} )'
2455
2455
args_array += ", "
2456
2456
2457
- args_array += "Variant(p_args)... };"
2457
+ args_array += "Variant(p_args)... }} ;"
2458
2458
result .append (args_array )
2459
2459
result .append (f"\t std::array<const Variant *, { len (method_arguments )} + sizeof...(Args)> call_args;" )
2460
2460
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