Skip to content

Commit

Permalink
Fix rhel build: override final instead of just final
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanNovoselov committed Jun 13, 2024
1 parent b22dbb9 commit 451fe36
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class KernelExecutor : public snippets::KernelExecutorBase {
public:
explicit KernelExecutor(std::shared_ptr<Conf> c) : KernelExecutorBase(), m_config{std::move(c)} {}

void update(const ov::snippets::lowered::ExpressionPtr& expr) final {
// Note: override when final is redundant, but needed to avoid warnings on some compilers
void update(const ov::snippets::lowered::ExpressionPtr& expr) override final { // NOLINT
update_config(expr, m_config);
OPENVINO_ASSERT(m_config && m_config->is_completed(), "Failed to update kernel config");
update_kernel(m_config, m_kernel);
Expand Down

0 comments on commit 451fe36

Please sign in to comment.