forked from qt-creator/qt-creator
Fix build with Qt 6
Change-Id: I67ffc389d7579ac98755ec99614ce9b3e4e07df5 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -268,6 +268,13 @@ public:
|
||||
return second == first;
|
||||
}
|
||||
|
||||
friend bool operator!=(const Utf8String &first, const char *second)
|
||||
{
|
||||
return first.byteArray != second;
|
||||
}
|
||||
|
||||
friend bool operator!=(const char *first, const Utf8String &second) { return second != first; }
|
||||
|
||||
friend bool operator==(const Utf8String &first, const QString &second)
|
||||
{
|
||||
return first.byteArray == second.toUtf8();
|
||||
|
||||
Reference in New Issue
Block a user