aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-24 18:38:45 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-09-01 18:35:18 +0200
commitc813a084b6dc8206a9c7305bbb236e23edcb49e5 (patch)
treefb229c1c40b700068c1718de6020393562200b90 /lib/jobs
parent6be4436494506f2fa5dbbdc633577e059a422bfe (diff)
downloadlibquotient-c813a084b6dc8206a9c7305bbb236e23edcb49e5.tar.gz
libquotient-c813a084b6dc8206a9c7305bbb236e23edcb49e5.zip
Fix building with MSVC
Turned out it was broken, and I was looking the other way.
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)