Don't mark a method as `virtual` in a `final` class

This commit is contained in:
Yonas Habteab 2022-08-26 16:56:06 +02:00
parent 7b91b200f5
commit 95cec9cba2
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ public:
static thread_local CheckCommand::Ptr ExecuteOverride; static thread_local CheckCommand::Ptr ExecuteOverride;
virtual void Execute(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr, void Execute(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr,
const Dictionary::Ptr& resolvedMacros = nullptr, const Dictionary::Ptr& resolvedMacros = nullptr,
bool useResolvedMacros = false); bool useResolvedMacros = false);
}; };

View File

@ -22,7 +22,7 @@ public:
static thread_local EventCommand::Ptr ExecuteOverride; static thread_local EventCommand::Ptr ExecuteOverride;
virtual void Execute(const Checkable::Ptr& checkable, void Execute(const Checkable::Ptr& checkable,
const Dictionary::Ptr& resolvedMacros = nullptr, const Dictionary::Ptr& resolvedMacros = nullptr,
bool useResolvedMacros = false); bool useResolvedMacros = false);
}; };