Skip to content

Commit

Permalink
Remove an unnecessary capture in test_rclcpp. (#527)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette authored Sep 11, 2023
1 parent 433783e commit 378269b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_rclcpp/test/test_multithreaded.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ static inline void multi_access_publisher(bool intra_process)
// timers
uint32_t publish_counter = 0;
auto timer_callback =
[&executor, &pub, &publish_counter, &counters_mutex, &num_messages](
[&pub, &publish_counter, &counters_mutex, &num_messages](
rclcpp::TimerBase & timer)
{
auto msg = std::make_unique<test_rclcpp::msg::UInt32>();
Expand Down

0 comments on commit 378269b

Please sign in to comment.