diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 20:04:51 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 20:54:17 +0900 |
commit | 21c62057bebd676a1950aa405a5f1a2c316c22ac (patch) | |
tree | e0c333c9a1e964f66ca160c50aca04765fa78c37 /lib/jobs/generated/profile.cpp | |
parent | b657cd22aa64f24f2e0f9f31ef8a5d4e38a26a3a (diff) | |
download | libquotient-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/profile.cpp')
-rw-r--r-- | lib/jobs/generated/profile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/jobs/generated/profile.cpp b/lib/jobs/generated/profile.cpp index 1f7092d7..d8ddbc14 100644 --- a/lib/jobs/generated/profile.cpp +++ b/lib/jobs/generated/profile.cpp @@ -30,7 +30,7 @@ class GetDisplayNameJob::Private QUrl GetDisplayNameJob::makeRequestUrl(QUrl baseUrl, const QString& userId) { - return BaseJob::makeRequestUrl(baseUrl, + return BaseJob::makeRequestUrl(std::move(baseUrl), basePath % "/profile/" % userId % "/displayname"); } @@ -73,7 +73,7 @@ class GetAvatarUrlJob::Private QUrl GetAvatarUrlJob::makeRequestUrl(QUrl baseUrl, const QString& userId) { - return BaseJob::makeRequestUrl(baseUrl, + return BaseJob::makeRequestUrl(std::move(baseUrl), basePath % "/profile/" % userId % "/avatar_url"); } @@ -107,7 +107,7 @@ class GetUserProfileJob::Private QUrl GetUserProfileJob::makeRequestUrl(QUrl baseUrl, const QString& userId) { - return BaseJob::makeRequestUrl(baseUrl, + return BaseJob::makeRequestUrl(std::move(baseUrl), basePath % "/profile/" % userId); } |