Refactor: override implies virtual

If not used with `final`, override implies `virtual`.
Detected via CodeFactor score.

Another reference on SO:
  https://stackoverflow.com/questions/43466863/isnt-virtual-keyword-redundant-when-override-or-final-specifiers-are-used
This commit is contained in:
Axel Huebl 2018-07-12 14:27:06 +02:00
parent 76790604f5
commit 5347ff9e5f
No known key found for this signature in database
GPG key ID: 472D2C364E21D94B
9 changed files with 31 additions and 31 deletions

View file

@ -85,7 +85,7 @@ namespace Catch {
std::vector<std::string> const& getTestsOrTags() const;
std::vector<std::string> const& getSectionsToRun() const override;
virtual TestSpec const& testSpec() const override;
TestSpec const& testSpec() const override;
bool hasTestFilters() const override;
bool showHelp() const;