forked from qt-creator/qt-creator
Partial compile fix for current Qt dev and/or Qt 6
This does not cover Utils::MapReduceOption with QVector, and code that's not compiled on my machine. Change-Id: Ib63923985c52b1bb74e5ec2068a2bb37469ac618 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -41,12 +41,12 @@ bool Keyword::equals(const Keyword &other) const
|
||||
&& (this->color == other.color);
|
||||
}
|
||||
|
||||
bool operator ==(Keyword &k1, Keyword &k2)
|
||||
bool operator ==(const Keyword &k1, const Keyword &k2)
|
||||
{
|
||||
return k1.equals(k2);
|
||||
}
|
||||
|
||||
bool operator !=(Keyword &k1, Keyword &k2)
|
||||
bool operator !=(const Keyword &k1, const Keyword &k2)
|
||||
{
|
||||
return !k1.equals(k2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user