From af1fa895737acf3dfe8c95ce7d98d98f01b1df3b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Jul 2022 06:18:28 +0000 Subject: [PATCH] ci(pre-commit): autofix --- .../lanelet2_map_loader/lanelet2_map_visualization_node.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/map/map_loader/src/lanelet2_map_loader/lanelet2_map_visualization_node.cpp b/map/map_loader/src/lanelet2_map_loader/lanelet2_map_visualization_node.cpp index a8f3ea635b77e..e952cd0e4993e 100644 --- a/map/map_loader/src/lanelet2_map_loader/lanelet2_map_visualization_node.cpp +++ b/map/map_loader/src/lanelet2_map_loader/lanelet2_map_visualization_node.cpp @@ -97,8 +97,10 @@ void Lanelet2MapVisualizationNode::onMapBin( lanelet::utils::query::crosswalkLanelets(all_lanelets); lanelet::ConstLanelets walkway_lanelets = lanelet::utils::query::walkwayLanelets(all_lanelets); - if (road_lanelets.size() + shoulder_lanelets.size() + crosswalk_lanelets.size() + - walkway_lanelets.size() != all_lanelets.size()) { + if ( + road_lanelets.size() + shoulder_lanelets.size() + crosswalk_lanelets.size() + + walkway_lanelets.size() != + all_lanelets.size()) { RCLCPP_WARN_STREAM( this->get_logger(), "The correct subtype must be defined for each lanelet."