Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
  • Loading branch information
tkimura4 and taikitanaka3 authored Jul 13, 2022
1 parent 628606c commit cdcbea6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ boost::optional<int64_t> getNearestLaneId(
*nearest_segment_idx += 1;
for (const auto & ll : current_lanes) {
if (ll.id() == path.points.at(*nearest_segment_idx).lane_ids.at(0)) {
*nearest_lane_id = ll.id();
nearest_lane_id = ll.id();
return nearest_lane_id;
}
}
Expand Down

0 comments on commit cdcbea6

Please sign in to comment.