aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/leaving.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-01 20:04:51 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-01 20:54:17 +0900
commit21c62057bebd676a1950aa405a5f1a2c316c22ac (patch)
treee0c333c9a1e964f66ca160c50aca04765fa78c37 /lib/jobs/generated/leaving.cpp
parentb657cd22aa64f24f2e0f9f31ef8a5d4e38a26a3a (diff)
downloadlibquotient-21c62057bebd676a1950aa405a5f1a2c316c22ac.tar.gz
libquotient-21c62057bebd676a1950aa405a5f1a2c316c22ac.zip
jobs/generated: use std::move in baseURL; type updates from the API files
The type updates are a matter of pending PR to matrix-doc yet.
Diffstat (limited to 'lib/jobs/generated/leaving.cpp')
-rw-r--r--lib/jobs/generated/leaving.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jobs/generated/leaving.cpp b/lib/jobs/generated/leaving.cpp
index fbc40d11..afc4adbd 100644
--- a/lib/jobs/generated/leaving.cpp
+++ b/lib/jobs/generated/leaving.cpp
@@ -14,7 +14,7 @@ static const auto basePath = QStringLiteral("/_matrix/client/r0");
QUrl LeaveRoomJob::makeRequestUrl(QUrl baseUrl, const QString& roomId)
{
- return BaseJob::makeRequestUrl(baseUrl,
+ return BaseJob::makeRequestUrl(std::move(baseUrl),
basePath % "/rooms/" % roomId % "/leave");
}
@@ -26,7 +26,7 @@ LeaveRoomJob::LeaveRoomJob(const QString& roomId)
QUrl ForgetRoomJob::makeRequestUrl(QUrl baseUrl, const QString& roomId)
{
- return BaseJob::makeRequestUrl(baseUrl,
+ return BaseJob::makeRequestUrl(std::move(baseUrl),
basePath % "/rooms/" % roomId % "/forget");
}