Small Fix
This commit is contained in:
parent
be25749aa4
commit
11342dbb78
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user