Skip to content

Commit 8aba3b8

Browse files
committed
sch: event funcs must be implemented
leftover from original impl attempt
1 parent cf4c656 commit 8aba3b8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

code/espurna/scheduler.cpp

+2-8
Original file line numberDiff line numberDiff line change
@@ -1557,14 +1557,8 @@ struct Source {
15571557
virtual ~Source();
15581558

15591559
virtual const datetime::Minutes& minutes() const = 0;
1560-
1561-
virtual bool before(const datetime::Context&) {
1562-
return true;
1563-
}
1564-
1565-
virtual bool after(const datetime::Context&) {
1566-
return true;
1567-
}
1560+
virtual bool before(const datetime::Context&) = 0;
1561+
virtual bool after(const datetime::Context&) = 0;
15681562
};
15691563

15701564
constexpr datetime::Minutes Source::DefaultMinutes;

0 commit comments

Comments
 (0)