aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-24 08:38:51 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-24 08:38:51 +0900
commit94e6636d8225a0561ed7df3fa8081c5b0183610c (patch)
treee98103251aad51da36cda138bda5bd69acf2208e
parentba620ee07989aff134fec6b5d6f058cab3377ecc (diff)
downloadlibquotient-94e6636d8225a0561ed7df3fa8081c5b0183610c.tar.gz
libquotient-94e6636d8225a0561ed7df3fa8081c5b0183610c.zip
Support inheritance in data structures
-rw-r--r--jobs/{{base}}.h.mustache2
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}}