diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-24 08:38:51 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-24 08:38:51 +0900 |
commit | 94e6636d8225a0561ed7df3fa8081c5b0183610c (patch) | |
tree | e98103251aad51da36cda138bda5bd69acf2208e | |
parent | ba620ee07989aff134fec6b5d6f058cab3377ecc (diff) | |
download | libquotient-94e6636d8225a0561ed7df3fa8081c5b0183610c.tar.gz libquotient-94e6636d8225a0561ed7df3fa8081c5b0183610c.zip |
Support inheritance in data structures
-rw-r--r-- | jobs/{{base}}.h.mustache | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/{{base}}.h.mustache b/jobs/{{base}}.h.mustache index ad8a2f1f..65c79e24 100644 --- a/jobs/{{base}}.h.mustache +++ b/jobs/{{base}}.h.mustache @@ -12,7 +12,7 @@ namespace QMatrixClient { {{#models}} // Data structures {{# model}} - struct {{classname}} + struct {{classname}}{{#parents?}} : {{#parents}}{{.}}{{#last?}}, {{/last?}}{{/parents}}{{/parents?}} { {{#vars}}{{datatype}} {{name}}; {{/vars}} |