Remove an unnecessary if.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-04-14 18:03:13 +01:00
parent 5462dcdf75
commit 0ce6ab5444

View File

@@ -135,9 +135,8 @@ module ModelGeneratorInput implements ModelGeneratorInputSig<Location, CppDataFl
ExternalFlow::getParameterTypeWithoutTemplateArguments(functionTemplate, i, true), ","
order by
i
)
|
if params = "" then result = "()" else result = "(" + params + ")"
) and
result = "(" + params + ")"
)
}