Skip to content

Commit dec22a2

Browse files
authored
fixup var names to snake case (#2501)
Signed-off-by: William Woodall <[email protected]>
1 parent 634cb87 commit dec22a2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

rclcpp/include/rclcpp/executor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ class Executor
487487
*/
488488
RCLCPP_PUBLIC
489489
static void
490-
execute_timer(rclcpp::TimerBase::SharedPtr timer, const std::shared_ptr<void> & dataPtr);
490+
execute_timer(rclcpp::TimerBase::SharedPtr timer, const std::shared_ptr<void> & data_ptr);
491491

492492
/// Run service server executable.
493493
/**

rclcpp/include/rclcpp/timer.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,10 @@ class GenericTimer : public TimerBase
326326
>::type * = nullptr
327327
>
328328
void
329-
execute_callback_delegate(const rcl_timer_call_info_t & timer_call_info_)
329+
execute_callback_delegate(const rcl_timer_call_info_t & timer_call_info)
330330
{
331-
const TimerInfo info{Time{timer_call_info_.expected_call_time, clock_->get_clock_type()},
332-
Time{timer_call_info_.actual_call_time, clock_->get_clock_type()}};
331+
const TimerInfo info{Time{timer_call_info.expected_call_time, clock_->get_clock_type()},
332+
Time{timer_call_info.actual_call_time, clock_->get_clock_type()}};
333333
callback_(info);
334334
}
335335

rclcpp/src/rclcpp/executor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,9 @@ Executor::execute_subscription(rclcpp::SubscriptionBase::SharedPtr subscription)
547547
}
548548

549549
void
550-
Executor::execute_timer(rclcpp::TimerBase::SharedPtr timer, const std::shared_ptr<void> & dataPtr)
550+
Executor::execute_timer(rclcpp::TimerBase::SharedPtr timer, const std::shared_ptr<void> & data_ptr)
551551
{
552-
timer->execute_callback(dataPtr);
552+
timer->execute_callback(data_ptr);
553553
}
554554

555555
void

0 commit comments

Comments
 (0)