aboutsummaryrefslogtreecommitdiff
path: root/lib/connectiondata.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-19 08:47:31 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-19 08:47:31 +0900
commitf004c32ae4291fd8eca7f4106af7582e6fc86f5a (patch)
treea057c04494dd7b776a0d6f219b08e47412fc8b62 /lib/connectiondata.cpp
parent980b2997b78e8a1e4322fa7b25ba8c4d5199318d (diff)
downloadlibquotient-f004c32ae4291fd8eca7f4106af7582e6fc86f5a.tar.gz
libquotient-f004c32ae4291fd8eca7f4106af7582e6fc86f5a.zip
ConnectionData: use std::move()
Diffstat (limited to 'lib/connectiondata.cpp')
-rw-r--r--lib/connectiondata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connectiondata.cpp b/lib/connectiondata.cpp
index 4e9bc77e..eb516ef7 100644
--- a/lib/connectiondata.cpp
+++ b/lib/connectiondata.cpp
@@ -59,13 +59,13 @@ QNetworkAccessManager* ConnectionData::nam() const
void ConnectionData::setBaseUrl(QUrl baseUrl)
{
- d->baseUrl = baseUrl;
+ d->baseUrl = std::move(baseUrl);
qCDebug(MAIN) << "updated baseUrl to" << d->baseUrl;
}
void ConnectionData::setToken(QByteArray token)
{
- d->accessToken = token;
+ d->accessToken = std::move(token);
}
void ConnectionData::setHost(QString host)