From 239c33243b21f120f581a646b298950bb18489ee Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 2 Jun 2018 15:06:26 +0900 Subject: GTAD: drop question marks and "true" from attributes They lead to an (incorrect) assumption that those attributes are actual binary flags rather than just flags (there's no such thing as avoidCopy=false, avoidCopy should be absent instead). --- lib/csapi/{{base}}.h.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/csapi/{{base}}.h.mustache') diff --git a/lib/csapi/{{base}}.h.mustache b/lib/csapi/{{base}}.h.mustache index 1d24163f..80d8bbac 100644 --- a/lib/csapi/{{base}}.h.mustache +++ b/lib/csapi/{{base}}.h.mustache @@ -50,7 +50,7 @@ namespace QMatrixClient // Result properties {{#allProperties}} - {{>maybeCrefType}} {{paramName}}(){{^noCopy?}} const{{/noCopy?}};{{/allProperties}} + {{>maybeCrefType}} {{paramName}}(){{^moveOnly}} const{{/moveOnly}};{{/allProperties}} protected: Status {{#producesNonJson?}}parseReply(QNetworkReply* reply){{/producesNonJson?}}{{^producesNonJson?}}parseJson(const QJsonDocument& data){{/producesNonJson?}} override; -- cgit v1.2.3