From 08bcb832b2c835ebfd067844dc2b6540c3874721 Mon Sep 17 00:00:00 2001 From: Ryuta Kambe Date: Tue, 2 Jul 2024 16:32:36 +0900 Subject: [PATCH] fix(diagnostic_graph_aggregator): fix uselessOverride warning (#7768) * fix(diagnostic_graph_aggregator): fix uselessOverride warning Signed-off-by: Ryuta Kambe * restore and suppress inline Signed-off-by: Ryuta Kambe * style(pre-commit): autofix --------- Signed-off-by: Ryuta Kambe Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- system/diagnostic_graph_aggregator/src/common/graph/units.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/diagnostic_graph_aggregator/src/common/graph/units.hpp b/system/diagnostic_graph_aggregator/src/common/graph/units.hpp index f478fa9ef1a2a..2dbb61eae4367 100644 --- a/system/diagnostic_graph_aggregator/src/common/graph/units.hpp +++ b/system/diagnostic_graph_aggregator/src/common/graph/units.hpp @@ -139,7 +139,7 @@ class ShortCircuitMaxUnit : public MaxUnit std::string type() const override { return unit_name::short_circuit_max; } private: - void update_status() override; + void update_status() override; // cppcheck-suppress uselessOverride }; class MinUnit : public NodeUnit