Skip to content

Commit

Permalink
sch: event funcs must be implemented
Browse files Browse the repository at this point in the history
leftover from original impl attempt
  • Loading branch information
mcspr committed Aug 24, 2024
1 parent cf4c656 commit 8aba3b8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions code/espurna/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8aba3b8

Please sign in to comment.