From 3008e19110b5debc2d188bcf735b60db993410dc Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Mon, 2 Dec 2019 20:52:35 -0800 Subject: [PATCH] missing override (#1039) --- firmware/controllers/scheduling/single_timer_executor.h | 4 ++-- unit_tests/global_execution_queue.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/controllers/scheduling/single_timer_executor.h b/firmware/controllers/scheduling/single_timer_executor.h index 49461ab8d8..cb844c3d76 100644 --- a/firmware/controllers/scheduling/single_timer_executor.h +++ b/firmware/controllers/scheduling/single_timer_executor.h @@ -14,8 +14,8 @@ class SingleTimerExecutor : public ExecutorInterface { public: SingleTimerExecutor(); - void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, schfunc_t callback, void *param); - void scheduleForLater(scheduling_s *scheduling, int delayUs, schfunc_t callback, void *param); + void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, schfunc_t callback, void *param) override; + void scheduleForLater(scheduling_s *scheduling, int delayUs, schfunc_t callback, void *param) override; void onTimerCallback(); int timerCallbackCounter; int scheduleCounter; diff --git a/unit_tests/global_execution_queue.h b/unit_tests/global_execution_queue.h index 43d39da3d8..c8a605c021 100644 --- a/unit_tests/global_execution_queue.h +++ b/unit_tests/global_execution_queue.h @@ -13,8 +13,8 @@ class TestExecutor : public ExecutorInterface { public: - void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, schfunc_t callback, void *param); - void scheduleForLater(scheduling_s *scheduling, int delayUs, schfunc_t callback, void *param); + void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, schfunc_t callback, void *param) override; + void scheduleForLater(scheduling_s *scheduling, int delayUs, schfunc_t callback, void *param) override; void clear(); int executeAll(efitime_t now); int size();