Skip to content

Commit a10abb7

Browse files
committed
perf(behavior_path_dynamic_avoidance_module): use const reference
Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
1 parent c24ad46 commit a10abb7

File tree

1 file changed

+1
-1
lines changed
  • planning/behavior_path_dynamic_avoidance_module/src

1 file changed

+1
-1
lines changed

planning/behavior_path_dynamic_avoidance_module/src/scene.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,7 @@ DynamicAvoidanceModule::EgoPathReservePoly DynamicAvoidanceModule::calcEgoPathRe
18031803
[&ego_path_lines](
18041804
strategy::distance_asymmetric<double> path_expand_strategy,
18051805
strategy::distance_asymmetric<double> steer_expand_strategy,
1806-
std::vector<geometry_msgs::msg::Point> outer_body_path) -> tier4_autoware_utils::Polygon2d {
1806+
const std::vector<geometry_msgs::msg::Point> & outer_body_path) -> tier4_autoware_utils::Polygon2d {
18071807
// reserve area based on the reference path
18081808
tier4_autoware_utils::MultiPolygon2d path_poly;
18091809
boost::geometry::buffer(

0 commit comments

Comments
 (0)