From 94d227cd434d09717de95529e5210ec530451e1c Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 9 Jul 2021 15:33:29 +0200 Subject: Fix build with MSVC Amends c3e413a8643857111ea80747605ba2cf5c2e328b Change-Id: Idb7e3c9d4cf53cf989d5aa4dd4353db798b92fb6 Reviewed-by: Christian Stenger --- src/shared/proparser/proitems.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 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) -- cgit v1.2.3