forked from qt-creator/qt-creator
CustomParser: Improve strange operator != implementation
Change-Id: I42c195004a9eca9f03cf34bd274f473ed87c580e Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -43,7 +43,8 @@ class CustomParserSettings
|
||||
public:
|
||||
CustomParserSettings();
|
||||
|
||||
bool operator !=(const CustomParserSettings &other) const;
|
||||
bool operator ==(const CustomParserSettings &other) const;
|
||||
bool operator !=(const CustomParserSettings &other) const { return !operator==(other); }
|
||||
|
||||
QString errorPattern;
|
||||
int fileNameCap;
|
||||
|
||||
Reference in New Issue
Block a user