Skip to content

Commit 6fb8804

Browse files
authored
fix(diagnostic_graph_aggregator): fix cppcheck warning of functionStatic (#8266)
* fix: deal with functionStatic warning Signed-off-by: taisa1 <kento.osa@tier4.jp> * suppress warning by comment Signed-off-by: taisa1 <kento.osa@tier4.jp> --------- Signed-off-by: taisa1 <kento.osa@tier4.jp>
1 parent b7e159f commit 6fb8804

File tree

1 file changed

+1
-1
lines changed
  • system/diagnostic_graph_aggregator/src/common/graph

1 file changed

+1
-1
lines changed

system/diagnostic_graph_aggregator/src/common/graph/units.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class UnitLink
3232
public:
3333
void initialize_object(BaseUnit * parent, BaseUnit * child);
3434
void initialize_struct();
35-
void initialize_status();
35+
void initialize_status(); // cppcheck-suppress functionStatic
3636
DiagLinkStruct create_struct() const { return struct_; }
3737
DiagLinkStatus create_status() const { return status_; }
3838
BaseUnit * parent() const { return parent_; }

0 commit comments

Comments
 (0)