aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-22 20:45:53 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-22 20:45:53 +0200
commit93cee89f9a99e51275ac9cd304180499b0543eea (patch)
tree4223b11cdb7f35dd8a2c8d5be072646f4ff36aea
parentfd42d1dbd29800ef53ab9997c948f39a92aa8bff (diff)
downloadlibquotient-93cee89f9a99e51275ac9cd304180499b0543eea.tar.gz
libquotient-93cee89f9a99e51275ac9cd304180499b0543eea.zip
Fix building with MSVC
-rw-r--r--lib/jobs/basejob.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h
index 835cd822..29443c53 100644
--- a/lib/jobs/basejob.h
+++ b/lib/jobs/basejob.h
@@ -70,7 +70,10 @@ public:
};
Q_ENUM(StatusCode)
- using Data Q_DECL_DEPRECATED_X("Use Quotient::RequestData instead") //
+ using Data
+#ifndef Q_CC_MSVC
+ Q_DECL_DEPRECATED_X("Use Quotient::RequestData instead")
+#endif
= RequestData;
/*!