Skip to content

Commit d01a577

Browse files
authored
Remove 'struct' from the rcl_time_jump_t. (ros2#1577)
It is redundant. Signed-off-by: Chris Lalancette <[email protected]>
1 parent 6cc89ca commit d01a577

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rclcpp/include/rclcpp/clock.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class Clock
136136
RCLCPP_PUBLIC
137137
static void
138138
on_time_jump(
139-
const struct rcl_time_jump_t * time_jump,
139+
const rcl_time_jump_t * time_jump,
140140
bool before_jump,
141141
void * user_data);
142142

rclcpp/src/rclcpp/clock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Clock::get_clock_mutex() noexcept
113113

114114
void
115115
Clock::on_time_jump(
116-
const struct rcl_time_jump_t * time_jump,
116+
const rcl_time_jump_t * time_jump,
117117
bool before_jump,
118118
void * user_data)
119119
{

0 commit comments

Comments
 (0)