diff options
Diffstat (limited to 'tests/fuzzy-test')
-rw-r--r-- | tests/fuzzy-test/commandlineparser.cpp | 4 | ||||
-rw-r--r-- | tests/fuzzy-test/commandlineparser.h | 2 | ||||
-rw-r--r-- | tests/fuzzy-test/fuzzytester.h | 2 |
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; |