aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fuzzy-test
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2019-11-24 09:16:54 +0900
committerIvan Komissarov <ABBAPOH@gmail.com>2019-11-25 11:09:11 +0000
commitc547f078e883c578996b6ff73643e122e17489db (patch)
tree8ff97c4ade3afea19889dc031f4e7159d2fee3fe /tests/fuzzy-test
parent2af2a33a5d9e938915cf890242b69e6f44f8dafc (diff)
Apply 'modernize-use-equals-default' fix-it
Change-Id: Iabdc777d2e8492d9903109365b0f3b1a5441ca11 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/fuzzy-test')
-rw-r--r--tests/fuzzy-test/commandlineparser.cpp4
-rw-r--r--tests/fuzzy-test/commandlineparser.h2
-rw-r--r--tests/fuzzy-test/fuzzytester.h2
3 files changed, 3 insertions, 5 deletions
diff --git a/tests/fuzzy-test/commandlineparser.cpp b/tests/fuzzy-test/commandlineparser.cpp
index 18515604b..23be7b0ad 100644
--- a/tests/fuzzy-test/commandlineparser.cpp
+++ b/tests/fuzzy-test/commandlineparser.cpp
@@ -37,9 +37,7 @@ static QString maxDurationoption() { return "--max-duration"; }
static QString jobCountOption() { return "--jobs"; }
static QString logOption() { return "--log"; }
-CommandLineParser::CommandLineParser()
-{
-}
+CommandLineParser::CommandLineParser() = default;
void CommandLineParser::parse(const QStringList &commandLine)
{
diff --git a/tests/fuzzy-test/commandlineparser.h b/tests/fuzzy-test/commandlineparser.h
index a000a515d..6dcbf84bc 100644
--- a/tests/fuzzy-test/commandlineparser.h
+++ b/tests/fuzzy-test/commandlineparser.h
@@ -36,7 +36,7 @@ class ParseException : public std::exception
{
public:
ParseException(const QString &error) : errorMessage(error) { }
- ~ParseException() throw() override {}
+ ~ParseException() throw() override = default;
QString errorMessage;
diff --git a/tests/fuzzy-test/fuzzytester.h b/tests/fuzzy-test/fuzzytester.h
index 2d75bb1af..bc1fc5f18 100644
--- a/tests/fuzzy-test/fuzzytester.h
+++ b/tests/fuzzy-test/fuzzytester.h
@@ -36,7 +36,7 @@
class TestError {
public:
TestError(const QString &errorMessage) : errorMessage(errorMessage) {}
- ~TestError() throw() {}
+ ~TestError() throw() = default;
QString errorMessage;