Skip to content

Commit

Permalink
fix: cppcheck
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed Nov 18, 2024
1 parent 9b04e9b commit 777ef60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ size_t getIndexWithLongitudinalOffset(
}

VelocityFactorArray makeVelocityFactorArray(
const rclcpp::Time & time, const std::string behavior = PlanningBehavior::ROUTE_OBSTACLE,
const rclcpp::Time & time, const std::string & behavior = PlanningBehavior::ROUTE_OBSTACLE,
const std::optional<geometry_msgs::msg::Pose> pose = std::nullopt);
} // namespace obstacle_cruise_utils

Expand Down
2 changes: 1 addition & 1 deletion planning/autoware_obstacle_cruise_planner/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ std::vector<StopObstacle> getClosestStopObstacles(const std::vector<StopObstacle
}

VelocityFactorArray makeVelocityFactorArray(
const rclcpp::Time & time, const std::string behavior,
const rclcpp::Time & time, const std::string & behavior,
const std::optional<geometry_msgs::msg::Pose> pose)
{
VelocityFactorArray velocity_factor_array;
Expand Down

0 comments on commit 777ef60

Please sign in to comment.