mirror of https://github.com/Icinga/icinga2.git
Don't mark a method as `virtual` in a `final` class
This commit is contained in:
parent
7b91b200f5
commit
95cec9cba2
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue