diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-24 09:16:54 +0900 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-25 11:09:11 +0000 |
commit | c547f078e883c578996b6ff73643e122e17489db (patch) | |
tree | 8ff97c4ade3afea19889dc031f4e7159d2fee3fe /tests/benchmarker | |
parent | 2af2a33a5d9e938915cf890242b69e6f44f8dafc (diff) |
Apply 'modernize-use-equals-default' fix-it
Change-Id: Iabdc777d2e8492d9903109365b0f3b1a5441ca11
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/benchmarker')
-rw-r--r-- | tests/benchmarker/commandlineparser.cpp | 4 | ||||
-rw-r--r-- | tests/benchmarker/exception.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/benchmarker/commandlineparser.cpp b/tests/benchmarker/commandlineparser.cpp index 4e5052453..e725ad0a0 100644 --- a/tests/benchmarker/commandlineparser.cpp +++ b/tests/benchmarker/commandlineparser.cpp @@ -41,9 +41,7 @@ static QString ruleExecutionActivity() { return "rule-execution"; } static QString nullBuildActivity() { return "null-build"; } static QString allActivities() { return "all"; } -CommandLineParser::CommandLineParser() -{ -} +CommandLineParser::CommandLineParser() = default; void CommandLineParser::parse() { diff --git a/tests/benchmarker/exception.h b/tests/benchmarker/exception.h index b4df36974..216189b70 100644 --- a/tests/benchmarker/exception.h +++ b/tests/benchmarker/exception.h @@ -36,7 +36,7 @@ namespace qbsBenchmarker { class Exception : public QException { public: explicit Exception(const QString &description) : m_description(description) {} - ~Exception() throw() override { } + ~Exception() throw() override = default; QString description() const { return m_description; } |