aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/logout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/logout.cpp')
-rw-r--r--lib/csapi/logout.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/csapi/logout.cpp b/lib/csapi/logout.cpp
index 4b391967..36281b79 100644
--- a/lib/csapi/logout.cpp
+++ b/lib/csapi/logout.cpp
@@ -17,10 +17,8 @@ QUrl LogoutJob::makeRequestUrl(QUrl baseUrl)
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, QStringLiteral("LogoutJob"), basePath % "/logout")
{}
QUrl LogoutAllJob::makeRequestUrl(QUrl baseUrl)
@@ -28,8 +26,7 @@ QUrl LogoutAllJob::makeRequestUrl(QUrl baseUrl)
return BaseJob::makeRequestUrl(std::move(baseUrl), basePath % "/logout/all");
}
-static const auto LogoutAllJobName = QStringLiteral("LogoutAllJob");
-
LogoutAllJob::LogoutAllJob()
- : BaseJob(HttpVerb::Post, LogoutAllJobName, basePath % "/logout/all")
+ : BaseJob(HttpVerb::Post, QStringLiteral("LogoutAllJob"),
+ basePath % "/logout/all")
{}