Small Fix

This commit is contained in:
TheBrokenRail 2024-07-14 05:04:32 -04:00
parent be25749aa4
commit 11342dbb78

View File

@ -154,10 +154,11 @@ export class Struct {
// Generate Shortcut
let out = '';
out += `${INDENT}template <typename... Args>\n`;
out += INDENT;
if (method.isStatic) {
out += 'static ';
}
out += `${INDENT}auto ${method.shortName}(Args&&... args) -> decltype(${call}) {\n`;
out += `auto ${method.shortName}(Args&&... args) -> decltype(${call}) {\n`;
out += `${INDENT}${INDENT}return ${call};\n`;
out += `${INDENT}}\n`;
return out;