diff --git a/planning/motion_velocity_planner/autoware_motion_velocity_planner_common/include/autoware_motion_velocity_planner_common/velocity_planning_result.hpp b/planning/motion_velocity_planner/autoware_motion_velocity_planner_common/include/autoware_motion_velocity_planner_common/velocity_planning_result.hpp index 373f122af60b9..9b011b74503f2 100644 --- a/planning/motion_velocity_planner/autoware_motion_velocity_planner_common/include/autoware_motion_velocity_planner_common/velocity_planning_result.hpp +++ b/planning/motion_velocity_planner/autoware_motion_velocity_planner_common/include/autoware_motion_velocity_planner_common/velocity_planning_result.hpp @@ -29,8 +29,10 @@ namespace autoware::motion_velocity_planner { struct SlowdownInterval { - SlowdownInterval(geometry_msgs::msg::Point from_, geometry_msgs::msg::Point to_, const double vel) - : from{std::move(from_)}, to{std::move(to_)}, velocity{vel} + SlowdownInterval( + const geometry_msgs::msg::Point & from_, const geometry_msgs::msg::Point & to_, + const double vel) + : from{from_}, to{to_}, velocity{vel} { } geometry_msgs::msg::Point from{};