Skip to content

Commit

Permalink
fix(autoware_surround_obstacle_checker): fix constVariableReference (a…
Browse files Browse the repository at this point in the history
…utowarefoundation#8059)

fix:constVariableReference

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
  • Loading branch information
kobayu858 authored and esteve committed Aug 13, 2024
1 parent d21462d commit 70dd85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/autoware_surround_obstacle_checker/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ std::optional<geometry_msgs::msg::TransformStamped> SurroundObstacleCheckerNode:
try {
transform_stamped =
tf_buffer_.lookupTransform(source, target, stamp, tf2::durationFromSec(duration_sec));
} catch (tf2::TransformException & ex) {
} catch (const tf2::TransformException & ex) {
return {};
}

Expand Down

0 comments on commit 70dd85b

Please sign in to comment.