Skip to content

Commit

Permalink
Satisfy uncrustify
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <sloretz@openrobotics.org>
  • Loading branch information
sloretz committed Dec 13, 2021
1 parent 4fe3c8d commit 7391967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void Event::wait_until(std::shared_ptr<Clock> clock, rcl_time_point_t until)
// Cast because system clock resolution is be too big for nanoseconds on Windows & OSX
const typename ClockType::time_point chrono_until = chrono_entry +
std::chrono::duration_cast<typename ClockType::duration>(
std::chrono::nanoseconds(delta_t.nanoseconds));
std::chrono::nanoseconds(delta_t.nanoseconds));

// Could be a long wait, release the gil
py::gil_scoped_release release;
Expand Down

0 comments on commit 7391967

Please sign in to comment.