aboutsummaryrefslogtreecommitdiff
path: root/jobs/{{base}}.h.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/{{base}}.h.mustache')
-rw-r--r--jobs/{{base}}.h.mustache4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/{{base}}.h.mustache b/jobs/{{base}}.h.mustache
index f7124f97..76ae4f51 100644
--- a/jobs/{{base}}.h.mustache
+++ b/jobs/{{base}}.h.mustache
@@ -18,7 +18,7 @@ namespace QMatrixClient
{
{{#vars}}{{dataType.name}} {{nameCamelCase}};
{{/vars}}
- operator QJsonValue() const;
+ operator QJsonObject() const;
};
template <> struct FromJson<{{name}}>
@@ -39,7 +39,7 @@ namespace QMatrixClient
{
{{#vars}}{{dataType.name}} {{nameCamelCase}};
{{/vars}}
- operator QJsonValue() const;
+ operator QJsonObject() const;
};
{{/ trivial?}}{{/model}}
// End of inner data structures