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