From 327ccc8961c89b2700fb36a54c21bedb306f6950 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 7 Nov 2018 23:13:02 +1100 Subject: [PATCH] AP_OpticalFlow: add override keyword where required --- libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h b/libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h index 30487b87d1..75d3c4a013 100644 --- a/libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h +++ b/libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h @@ -25,8 +25,8 @@ class AP_OpticalFlow_Onboard : public OpticalFlow_backend { public: AP_OpticalFlow_Onboard(OpticalFlow &_frontend); - void init(void); - void update(void); + void init(void) override; + void update(void) override; private: uint32_t _last_read_ms; };