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:
Tobias Hunger
2013-08-08 12:56:47 +02:00
parent f1eb9c4827
commit 0796684558
2 changed files with 5 additions and 12 deletions

View File

@@ -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;