event/Loop: remove unused method TimerRecord::IsDue()
This commit is contained in:
parent
8225064aab
commit
d4266d0063
@ -66,10 +66,6 @@ class EventLoop final : SocketMonitor
|
||||
bool operator<(const TimerRecord &other) const {
|
||||
return due < other.due;
|
||||
}
|
||||
|
||||
bool IsDue(std::chrono::steady_clock::time_point _now) const {
|
||||
return _now >= due;
|
||||
}
|
||||
};
|
||||
|
||||
WakeFD wake_fd;
|
||||
|
Loading…
Reference in New Issue
Block a user