aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/{{base}}.cpp.mustache
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-01 12:53:00 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-01 13:41:15 +0900
commitdf268cad0ad517a75c813606bf3ef11bdba6f4e6 (patch)
tree61164013142fde45cead0ec57f08b87d56961b8e /lib/jobs/{{base}}.cpp.mustache
parent8d7ff5d3741ff525d337871185ee9f7f2e885af5 (diff)
downloadlibquotient-df268cad0ad517a75c813606bf3ef11bdba6f4e6.tar.gz
libquotient-df268cad0ad517a75c813606bf3ef11bdba6f4e6.zip
Mustache: more C++ tidying and empty lines removal
Diffstat (limited to 'lib/jobs/{{base}}.cpp.mustache')
-rw-r--r--lib/jobs/{{base}}.cpp.mustache2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/{{base}}.cpp.mustache b/lib/jobs/{{base}}.cpp.mustache
index 87205caa..1ca23799 100644
--- a/lib/jobs/{{base}}.cpp.mustache
+++ b/lib/jobs/{{base}}.cpp.mustache
@@ -71,7 +71,7 @@ BaseJob::Query queryTo{{camelCaseOperationId}}({{#queryParams}}{{>joinedParamDef
{{/queryParams?}}{{^bodyParams}}
QUrl {{camelCaseOperationId}}Job::makeRequestUrl(QUrl baseUrl{{#allParams?}}, {{#allParams}}{{>joinedParamDef}}{{/allParams}}{{/allParams?}})
{
- return BaseJob::makeRequestUrl(baseUrl,
+ return BaseJob::makeRequestUrl(std::move(baseUrl),
basePath{{#pathParts}} % {{_}}{{/pathParts}}{{#queryParams?}},
queryTo{{camelCaseOperationId}}({{>passQueryParams}}){{/queryParams?}});
}