mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Refactor some uses of virtual -> override
This commit is contained in:
parent
a39154e115
commit
601ca1c670
@ -29,7 +29,7 @@ namespace Detail {
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct IGenerator : GeneratorUntypedBase {
|
struct IGenerator : GeneratorUntypedBase {
|
||||||
virtual ~IGenerator() = default;
|
~IGenerator() override = default;
|
||||||
|
|
||||||
// Returns the current element of the generator
|
// Returns the current element of the generator
|
||||||
//
|
//
|
||||||
|
@ -33,7 +33,7 @@ namespace Catch {
|
|||||||
|
|
||||||
class TestRegistry : public ITestCaseRegistry {
|
class TestRegistry : public ITestCaseRegistry {
|
||||||
public:
|
public:
|
||||||
virtual ~TestRegistry() = default;
|
~TestRegistry() override = default;
|
||||||
|
|
||||||
virtual void registerTest( std::unique_ptr<TestCaseInfo> testInfo, std::unique_ptr<ITestInvoker> testInvoker );
|
virtual void registerTest( std::unique_ptr<TestCaseInfo> testInfo, std::unique_ptr<ITestInvoker> testInvoker );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user