summaryrefslogtreecommitdiff
path: root/tests/benchmarker
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2019-05-02 23:17:59 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2019-05-03 09:05:14 +0000
commitcf822073113ae54b14994cb80af0cb8e786856c5 (patch)
tree11ee1457dcdc26dc2d2289146afa6b50c791710d /tests/benchmarker
parentf8ee1422db60190aaad63d967584b0ffc52e9fd8 (diff)
downloadqbs-cf822073113ae54b14994cb80af0cb8e786856c5.tar.gz
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/benchmarker')
-rw-r--r--tests/benchmarker/exception.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/benchmarker/exception.h b/tests/benchmarker/exception.h
index 3771dc89d..b4df36974 100644
--- a/tests/benchmarker/exception.h
+++ b/tests/benchmarker/exception.h
@@ -36,13 +36,13 @@ namespace qbsBenchmarker {
class Exception : public QException {
public:
explicit Exception(const QString &description) : m_description(description) {}
- ~Exception() throw() { }
+ ~Exception() throw() override { }
QString description() const { return m_description; }
private:
- void raise() const { throw *this; }
- Exception *clone() const { return new Exception(*this); }
+ void raise() const override { throw *this; }
+ Exception *clone() const override { return new Exception(*this); }
QString m_description;
};