From 1fcdddac2b47003480406c87b09cb2c19a4596f3 Mon Sep 17 00:00:00 2001 From: kobayu858 <129580202+kobayu858@users.noreply.github.com> Date: Tue, 10 Sep 2024 19:17:57 +0900 Subject: [PATCH] fix(tier4_localization_rviz_plugin): fix constVariableReference (#8838) fix:constVariableReference Signed-off-by: kobayu858 --- .../src/pose_history_footprint/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tier4_localization_rviz_plugin/src/pose_history_footprint/display.cpp b/common/tier4_localization_rviz_plugin/src/pose_history_footprint/display.cpp index 5c392dc6fab1c..662ce97b162cd 100644 --- a/common/tier4_localization_rviz_plugin/src/pose_history_footprint/display.cpp +++ b/common/tier4_localization_rviz_plugin/src/pose_history_footprint/display.cpp @@ -211,7 +211,7 @@ void PoseHistoryFootprint::update_footprint() const float offset_from_baselink = property_offset_->getFloat(); - for (auto & point_idx : history_) { + for (const auto & point_idx : history_) { const auto & pose = point_idx->pose; /* * Footprint