aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarker
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarker')
-rw-r--r--tests/benchmarker/commandlineparser.cpp4
-rw-r--r--tests/benchmarker/exception.h2
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; }