diff options
Diffstat (limited to 'lib/csapi/{{base}}.h.mustache')
-rw-r--r-- | lib/csapi/{{base}}.h.mustache | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/{{base}}.h.mustache b/lib/csapi/{{base}}.h.mustache index 80d8bbac..23d001cb 100644 --- a/lib/csapi/{{base}}.h.mustache +++ b/lib/csapi/{{base}}.h.mustache @@ -11,7 +11,7 @@ namespace QMatrixClient { {{#models}} // Data structures {{# model}} - struct {{name}}{{#parents?}} : {{#parents}}{{name}}{{#@join}}, {{/@join}}{{/parents}}{{/parents?}} + struct {{name}}{{#parents?}} : {{#parents}}{{name}}{{>join,}}{{/parents}}{{/parents?}} { {{#vars}} {{>maybeOmittableType}} {{nameCamelCase}}; {{/vars}} }; @@ -30,7 +30,7 @@ namespace QMatrixClient public:{{#models}} // Inner data structures {{# model}} - struct {{name}}{{#parents?}} : {{#parents}}{{name}}{{#@join}}, {{/@join}}{{/parents}}{{/parents?}} + struct {{name}}{{#parents?}} : {{#parents}}{{name}}{{>join,}}{{/parents}}{{/parents?}} { {{#vars}} {{>maybeOmittableType}} {{nameCamelCase}}; {{/vars}} }; |