aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/logout.cpp
diff options
context:
space:
mode:
authorMarc Deop <marc@marcdeop.com>2019-03-02 12:26:57 +0100
committerMarc Deop <marc@marcdeop.com>2019-03-02 12:26:57 +0100
commitaacc4bcb4a487871daae6717f77605aaba444341 (patch)
tree4f50b6874821667ccb6b91c017e5d041e3846112 /lib/csapi/logout.cpp
parentc971b924cd62822ed6fb1a0291c483ae73a3ecda (diff)
downloadlibquotient-aacc4bcb4a487871daae6717f77605aaba444341.tar.gz
libquotient-aacc4bcb4a487871daae6717f77605aaba444341.zip
style: apply .clang-format to all .cpp and .h files
Diffstat (limited to 'lib/csapi/logout.cpp')
-rw-r--r--lib/csapi/logout.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/csapi/logout.cpp b/lib/csapi/logout.cpp
index 6e209e07..f2d2e130 100644
--- a/lib/csapi/logout.cpp
+++ b/lib/csapi/logout.cpp
@@ -14,29 +14,25 @@ static const auto basePath = QStringLiteral("/_matrix/client/r0");
QUrl LogoutJob::makeRequestUrl(QUrl baseUrl)
{
- return BaseJob::makeRequestUrl(std::move(baseUrl),
- basePath % "/logout");
+ return BaseJob::makeRequestUrl(std::move(baseUrl), basePath % "/logout");
}
static const auto LogoutJobName = QStringLiteral("LogoutJob");
LogoutJob::LogoutJob()
- : BaseJob(HttpVerb::Post, LogoutJobName,
- basePath % "/logout")
+ : BaseJob(HttpVerb::Post, LogoutJobName, basePath % "/logout")
{
}
QUrl LogoutAllJob::makeRequestUrl(QUrl baseUrl)
{
return BaseJob::makeRequestUrl(std::move(baseUrl),
- basePath % "/logout/all");
+ basePath % "/logout/all");
}
static const auto LogoutAllJobName = QStringLiteral("LogoutAllJob");
LogoutAllJob::LogoutAllJob()
- : BaseJob(HttpVerb::Post, LogoutAllJobName,
- basePath % "/logout/all")
+ : BaseJob(HttpVerb::Post, LogoutAllJobName, basePath % "/logout/all")
{
}
-