Skip to content

Commit

Permalink
fix(autoware_behavior_velocity_planner): fix passedByValue (autowaref…
Browse files Browse the repository at this point in the history
…oundation#8213)

fix:passedByValue

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
  • Loading branch information
kobayu858 committed Jul 26, 2024
1 parent 5c01a9a commit c4aea4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ std::string jsonDumpsPose(const geometry_msgs::msg::Pose & pose)
}

diagnostic_msgs::msg::DiagnosticStatus makeStopReasonDiag(
const std::string stop_reason, const geometry_msgs::msg::Pose & stop_pose)
const std::string & stop_reason, const geometry_msgs::msg::Pose & stop_pose)
{
diagnostic_msgs::msg::DiagnosticStatus stop_reason_diag;
diagnostic_msgs::msg::KeyValue stop_reason_diag_kv;
Expand Down

0 comments on commit c4aea4b

Please sign in to comment.