forked from qt-creator/qt-creator
Fix build with MSVC
Amends c3e413a864
Change-Id: Idb7e3c9d4cf53cf989d5aa4dd4353db798b92fb6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -350,6 +350,15 @@ inline ProStringList operator+(const ProStringList &one, const ProStringList &tw
|
|||||||
|
|
||||||
typedef QMap<ProKey, ProStringList> ProValueMap;
|
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
|
// These token definitions affect both ProFileEvaluator and ProWriter
|
||||||
enum ProToken {
|
enum ProToken {
|
||||||
TokTerminator = 0, // end of stream (possibly not included in length; must be zero)
|
TokTerminator = 0, // end of stream (possibly not included in length; must be zero)
|
||||||
|
Reference in New Issue
Block a user