diff options
Diffstat (limited to 'src/Lang')
| -rw-r--r-- | src/Lang/Cpp/CppDocGen.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Lang/Cpp/CppDocGen.ts b/src/Lang/Cpp/CppDocGen.ts index c88dd7d..75b67af 100644 --- a/src/Lang/Cpp/CppDocGen.ts +++ b/src/Lang/Cpp/CppDocGen.ts @@ -106,13 +106,11 @@ export class CppDocGen implements IDocGen { } protected getMultiTemplatedString(replace: string[], template: string, param: string[]): string { - // FIXME I find this argument order a bit strange. I would probably have template first // For each replace entry, attempt to replace it with the corresponding param in the template for (let i = 0; i < replace.length; i++) { if (i < param.length) { template = template.replace(replace[i], param[i]); } - // TODO: warn if mismatch string lengths? Probably should use tuple of tuples } return template; } |