aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-07-09 15:33:29 +0200
committerEike Ziller <eike.ziller@qt.io>2021-07-09 14:00:02 +0000
commit94d227cd434d09717de95529e5210ec530451e1c (patch)
treeee481c67e090e8d86c7b9474c47ebc6c5f4a4626
parentc3e413a8643857111ea80747605ba2cf5c2e328b (diff)
Fix build with MSVCv4.15.2
Amends c3e413a8643857111ea80747605ba2cf5c2e328b Change-Id: Idb7e3c9d4cf53cf989d5aa4dd4353db798b92fb6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r--src/shared/proparser/proitems.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/shared/proparser/proitems.h b/src/shared/proparser/proitems.h
index 9d851a9d57..a16e0399d1 100644
--- a/src/shared/proparser/proitems.h
+++ b/src/shared/proparser/proitems.h
@@ -350,6 +350,15 @@ inline ProStringList operator+(const ProStringList &one, const ProStringList &tw
typedef QMap<ProKey, ProStringList> ProValueMap;
+// For std::list (sic!)
+#ifdef Q_CC_MSVC
+inline bool operator<(const ProValueMap &, const ProValueMap &)
+{
+ Q_ASSERT(false);
+ return false;
+}
+#endif
+
// These token definitions affect both ProFileEvaluator and ProWriter
enum ProToken {
TokTerminator = 0, // end of stream (possibly not included in length; must be zero)