From 8aba3b87300ce076d58dd6f279785e6c6ee23255 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Sat, 24 Aug 2024 23:39:30 +0300 Subject: [PATCH] sch: event funcs must be implemented leftover from original impl attempt --- code/espurna/scheduler.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/code/espurna/scheduler.cpp b/code/espurna/scheduler.cpp index 5e22218204..d2252ee6ac 100644 --- a/code/espurna/scheduler.cpp +++ b/code/espurna/scheduler.cpp @@ -1557,14 +1557,8 @@ struct Source { virtual ~Source(); virtual const datetime::Minutes& minutes() const = 0; - - virtual bool before(const datetime::Context&) { - return true; - } - - virtual bool after(const datetime::Context&) { - return true; - } + virtual bool before(const datetime::Context&) = 0; + virtual bool after(const datetime::Context&) = 0; }; constexpr datetime::Minutes Source::DefaultMinutes;