From 2ce101b37f9b279ccb1d97da230c51864296efca Mon Sep 17 00:00:00 2001 From: bathteayo <105347690+bathteayo@users.noreply.github.com> Date: Wed, 21 Aug 2024 23:02:11 +0900 Subject: [PATCH] fix: unusedFunction Signed-off-by: bathteayo <105347690+bathteayo@users.noreply.github.com> --- system/diagnostic_graph_aggregator/src/common/graph/graph.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/system/diagnostic_graph_aggregator/src/common/graph/graph.hpp b/system/diagnostic_graph_aggregator/src/common/graph/graph.hpp index 0e64f25860fda..14a27dae9a539 100644 --- a/system/diagnostic_graph_aggregator/src/common/graph/graph.hpp +++ b/system/diagnostic_graph_aggregator/src/common/graph/graph.hpp @@ -34,7 +34,6 @@ class Graph void update(const rclcpp::Time & stamp); // cppcheck-suppress functionConst bool update(const rclcpp::Time & stamp, const DiagnosticStatus & status); const auto & nodes() const { return nodes_; } - const auto & diags() const { return diags_; } const auto & units() const { return units_; } DiagGraphStruct create_struct(const rclcpp::Time & stamp) const; DiagGraphStatus create_status(const rclcpp::Time & stamp) const;