From d4266d0063e9205f7d6a54fc2b4659b838572ad4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Aug 2017 13:40:01 +0200 Subject: [PATCH] event/Loop: remove unused method TimerRecord::IsDue() --- src/event/Loop.hxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx index 706697e7c..895a7f553 100644 --- a/src/event/Loop.hxx +++ b/src/event/Loop.hxx @@ -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;