Skip to content

Commit

Permalink
fix(autoware_behavior_velocity_planner): fix clang-diagnostic-format-…
Browse files Browse the repository at this point in the history
…security (#9411)

fix: clang-diagnostic-format-security

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Nov 20, 2024
1 parent e3aba55 commit 6717fb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ bool BehaviorVelocityPlannerNode::processData(rclcpp::Clock clock)
bool is_ready = true;
const auto & logData = [&clock, this](const std::string & data_type) {
std::string msg = "Waiting for " + data_type + " data";
RCLCPP_INFO_THROTTLE(get_logger(), clock, logger_throttle_interval, msg.c_str());
RCLCPP_INFO_THROTTLE(get_logger(), clock, logger_throttle_interval, "%s", msg.c_str());
};

const auto & getData = [&logData](auto & dest, auto & sub, const std::string & data_type = "") {
Expand Down

0 comments on commit 6717fb2

Please sign in to comment.