diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-05-02 23:17:59 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-05-03 09:05:14 +0000 |
commit | cf822073113ae54b14994cb80af0cb8e786856c5 (patch) | |
tree | 11ee1457dcdc26dc2d2289146afa6b50c791710d /tests/fuzzy-test | |
parent | f8ee1422db60190aaad63d967584b0ffc52e9fd8 (diff) |
Apply fix-its for the missing override keyword
Missing override is a warning in clang
Change-Id: I90b899df37e690aebb942bffc65db54d9aa4050f
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/fuzzy-test')
-rw-r--r-- | tests/fuzzy-test/commandlineparser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fuzzy-test/commandlineparser.h b/tests/fuzzy-test/commandlineparser.h index 54b80c7cb..a000a515d 100644 --- a/tests/fuzzy-test/commandlineparser.h +++ b/tests/fuzzy-test/commandlineparser.h @@ -36,12 +36,12 @@ class ParseException : public std::exception { public: ParseException(const QString &error) : errorMessage(error) { } - ~ParseException() throw() {} + ~ParseException() throw() override {} QString errorMessage; private: - const char *what() const throw() { return qPrintable(errorMessage); } + const char *what() const throw() override { return qPrintable(errorMessage); } }; class CommandLineParser |