Skip to content

Commit

Permalink
add const
Browse files Browse the repository at this point in the history
Signed-off-by: Yamato Ando <[email protected]>
  • Loading branch information
YamatoAndo committed Jun 5, 2024
1 parent 68299b7 commit b77bfbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ void NDTScanMatcher::transform_sensor_measurement(
geometry_msgs::msg::TransformStamped transform;
try {
transform = tf2_buffer_.lookupTransform(target_frame, source_frame, tf2::TimePointZero);
} catch (tf2::TransformException & ex) {
} catch (const tf2::TransformException & ex) {
throw;
}

Expand Down

0 comments on commit b77bfbb

Please sign in to comment.