Skip to content

Commit

Permalink
fix(bag_time_manager_rviz_plugin): fix clang-diagnostic-unused-lambda…
Browse files Browse the repository at this point in the history
…-capture (#9444)

Signed-off-by: veqcc <[email protected]>
  • Loading branch information
veqcc authored Nov 27, 2024
1 parent 35048a9 commit 9c7f45f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void BagTimeManagerPanel::onPauseClicked()
pause_button_->setStyleSheet("background-color: #00FF00;");
auto req = std::make_shared<Resume::Request>();
client_resume_->async_send_request(
req, [this]([[maybe_unused]] rclcpp::Client<Resume>::SharedFuture result) {});
req, []([[maybe_unused]] rclcpp::Client<Resume>::SharedFuture result) {});
} else {
// do pause
current_state_ = STATE::PAUSE;
Expand All @@ -91,7 +91,7 @@ void BagTimeManagerPanel::onPauseClicked()
pause_button_->setStyleSheet("background-color: #FF0000;");
auto req = std::make_shared<Pause::Request>();
client_pause_->async_send_request(
req, [this]([[maybe_unused]] rclcpp::Client<Pause>::SharedFuture result) {});
req, []([[maybe_unused]] rclcpp::Client<Pause>::SharedFuture result) {});
}
}

Expand Down

0 comments on commit 9c7f45f

Please sign in to comment.