Small Fix
This commit is contained in:
parent
be25749aa4
commit
11342dbb78
@ -154,10 +154,11 @@ export class Struct {
|
|||||||
// Generate Shortcut
|
// Generate Shortcut
|
||||||
let out = '';
|
let out = '';
|
||||||
out += `${INDENT}template <typename... Args>\n`;
|
out += `${INDENT}template <typename... Args>\n`;
|
||||||
|
out += INDENT;
|
||||||
if (method.isStatic) {
|
if (method.isStatic) {
|
||||||
out += 'static ';
|
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}${INDENT}return ${call};\n`;
|
||||||
out += `${INDENT}}\n`;
|
out += `${INDENT}}\n`;
|
||||||
return out;
|
return out;
|
||||||
|
Loading…
Reference in New Issue
Block a user