aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/basejob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-27 17:22:22 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-27 17:22:22 +0900
commit97cac4b919735eb59493dd1cd528992ba90e611b (patch)
tree33213b0fc1ea530fefe474d9b8f96983d4bd6005 /lib/jobs/basejob.cpp
parentc4a20a6d9a5f6bfbd4315450ccaff8195a3f521a (diff)
downloadlibquotient-97cac4b919735eb59493dd1cd528992ba90e611b.tar.gz
libquotient-97cac4b919735eb59493dd1cd528992ba90e611b.zip
More compliant 'using' for chrono_literals
Compilers warn on using 'using ...::operator""s' because they think we're redefining the reserved suffix.
Diffstat (limited to 'lib/jobs/basejob.cpp')
-rw-r--r--lib/jobs/basejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp
index 0a17431c..54931c83 100644
--- a/lib/jobs/basejob.cpp
+++ b/lib/jobs/basejob.cpp
@@ -32,7 +32,7 @@
using namespace Quotient;
using std::chrono::seconds, std::chrono::milliseconds;
-using std::chrono_literals::operator""s;
+using namespace std::chrono_literals;
struct NetworkReplyDeleter : public QScopedPointerDeleteLater {
static inline void cleanup(QNetworkReply* reply)