Skip to content

Commit

Permalink
fix(autoware_behavior_velocity_occlusion_spot_module): fix bugprone-m…
Browse files Browse the repository at this point in the history
…acro-parentheses (autowarefoundation#9712)

* fix: bugprone-error

Signed-off-by: kobayu858 <[email protected]>

* fix: fmt

Signed-off-by: kobayu858 <[email protected]>

---------

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Jan 6, 2025
1 parent a8a843a commit 4a181d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// turn on only when debugging.
#define DEBUG_PRINT(enable, n, x) \
if (enable) { \
const std::string time_msg = n + std::to_string(x); \
const std::string time_msg = (n) + std::to_string(x); \
RCLCPP_INFO_STREAM_THROTTLE(logger_, *clock_, 3000, time_msg); \
}

Expand Down

0 comments on commit 4a181d6

Please sign in to comment.