aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-09-02 04:48:01 +0200
committerGitHub <noreply@github.com>2021-09-02 04:48:01 +0200
commitc521332793e63cad244905e3abb20ded905444fa (patch)
tree127118c753e25df38c1a295026a545ab13fc1f84 /lib/jobs
parent45d0e42f8380b829e6c5382ae927b9936f922668 (diff)
parent92efa87eff1b35bc857633af20ea8987d926dd5e (diff)
downloadlibquotient-c521332793e63cad244905e3abb20ded905444fa.tar.gz
libquotient-c521332793e63cad244905e3abb20ded905444fa.zip
Merge pull request #495 from quotient-im/kitsune-ci-windows-codeql
CI: add Windows, CodeQL
Diffstat (limited to 'lib/jobs')
-rw-r--r--lib/jobs/basejob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp
index 239cef28..6346db9d 100644
--- a/lib/jobs/basejob.cpp
+++ b/lib/jobs/basejob.cpp
@@ -156,8 +156,8 @@ public:
{
// FIXME: use std::array {} when Apple stdlib gets deduction guides for it
static const auto verbs =
- to_array({ QStringLiteral("GET"), QStringLiteral("PUT"),
- QStringLiteral("POST"), QStringLiteral("DELETE") });
+ make_array(QStringLiteral("GET"), QStringLiteral("PUT"),
+ QStringLiteral("POST"), QStringLiteral("DELETE"));
const auto verbWord = verbs.at(size_t(verb));
return verbWord % ' '
% (reply ? reply->url().toString(QUrl::RemoveQuery)