diff --git a/src/Generator/Generators/CLI/CLISourcesTemplate.cs b/src/Generator/Generators/CLI/CLISourcesTemplate.cs index 51d24980..6c80a372 100644 --- a/src/Generator/Generators/CLI/CLISourcesTemplate.cs +++ b/src/Generator/Generators/CLI/CLISourcesTemplate.cs @@ -324,8 +324,7 @@ namespace Cxxi.Generators.CLI if (!string.IsNullOrWhiteSpace(marshal.SupportBefore)) WriteLine(marshal.SupportBefore); - Write("auto {0} = ", argName); - WriteLine("{0};", marshal.Return); + WriteLine("auto {0} = {1};", argName, marshal.Return); if (!string.IsNullOrWhiteSpace(marshal.SupportAfter)) WriteLine(marshal.SupportAfter);