Skip to content

Commit

Permalink
remove is_zero() for now
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Aug 18, 2018
1 parent 32d38c2 commit 2fbf62b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions rclcpp/include/rclcpp/time.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ class Time
rcl_clock_type_t
get_clock_type() const;

RCLCPP_PUBLIC
bool
is_zero() const;

private:
rcl_time_point_t rcl_time_;
friend Clock; // Allow clock to manipulate internal data
Expand Down
6 changes: 0 additions & 6 deletions rclcpp/src/rclcpp/time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,6 @@ Time::get_clock_type() const
return rcl_time_.clock_type;
}

bool
Time::is_zero() const
{
return 0 == rcl_time_.nanoseconds;
}

Time
operator+(const rclcpp::Duration & lhs, const rclcpp::Time & rhs)
{
Expand Down

0 comments on commit 2fbf62b

Please sign in to comment.