Skip to content

Commit 88c6c28

Browse files
Mauro Passerinojefferyyjhsu
authored andcommitted
Update set_on_reset_callback lamdba function to new signature
1 parent 9429585 commit 88c6c28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

irobot_events_executor/src/rclcpp/timers_manager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ void TimersManager::add_timer(rclcpp::TimerBase::SharedPtr timer)
4141
timers_updated_ = timers_updated_ || added;
4242
}
4343

44-
timer->set_on_reset_callback([this](){
44+
timer->set_on_reset_callback([this](size_t arg){
4545
{
46+
(void)arg;
4647
rclcpp::Lock lock(timers_mutex_);
4748
timers_updated_ = true;
4849
}

0 commit comments

Comments
 (0)