From 401b4d5f8a3e9e685c9c3416a985ecf4ce4c047b Mon Sep 17 00:00:00 2001 From: kobayu858 Date: Tue, 16 Jul 2024 20:16:47 +0900 Subject: [PATCH] fix:constVariableReference Signed-off-by: kobayu858 --- planning/autoware_surround_obstacle_checker/src/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/autoware_surround_obstacle_checker/src/node.cpp b/planning/autoware_surround_obstacle_checker/src/node.cpp index 9c899c2226497..cac609f882272 100644 --- a/planning/autoware_surround_obstacle_checker/src/node.cpp +++ b/planning/autoware_surround_obstacle_checker/src/node.cpp @@ -506,7 +506,7 @@ std::optional SurroundObstacleCheckerNode: try { transform_stamped = tf_buffer_.lookupTransform(source, target, stamp, tf2::durationFromSec(duration_sec)); - } catch (tf2::TransformException & ex) { + } catch (const tf2::TransformException & ex) { return {}; }