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 08372b77..ad8a2f1f 100644
--- a/jobs/{{base}}.h.mustache
+++ b/jobs/{{base}}.h.mustache
@@ -32,9 +32,9 @@ namespace QMatrixClient
public:
explicit {{camelCaseOperationId}}Job({{#allParams}}{{#avoidCopy?}}const {{dataType}}&{{/avoidCopy?}}{{^avoidCopy?}}{{dataType}}{{/avoidCopy?}} {{paramName}}{{^required?}} = {{defaultValue}}{{^defaultValue}}{}{{/defaultValue}}{{/required?}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
{{# responses}}{{#normalResponse?}}{{#properties?}}
- virtual ~{{camelCaseOperationId}}Job();
+ ~{{camelCaseOperationId}}Job() override;
- {{#properties}}{{dataType}} {{paramName}}() const;
+ {{#properties}}const {{dataType}}& {{paramName}}() const;
{{/properties}}
protected:
{{^returnFile}}Status parseJson(const QJsonDocument& data) override;{{/returnFile}}