diff --git a/simulation/traffic_simulator/src/utils/pose.cpp b/simulation/traffic_simulator/src/utils/pose.cpp index c835199e777..6dd54fcf700 100644 --- a/simulation/traffic_simulator/src/utils/pose.cpp +++ b/simulation/traffic_simulator/src/utils/pose.cpp @@ -54,8 +54,7 @@ auto canonicalize( } else { try { return CanonicalizedLaneletPose(lanelet_pose, hdmap_utils_ptr); - } - catch(const common::SemanticError &) { + } catch (const common::SemanticError &) { return std::nullopt; } }