From 54a250483b58aa2a429fd142961fc9e7c56dbc33 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 22 Feb 2019 10:11:28 +1100 Subject: [PATCH] AP_OpticalFlow: add missing override keywords --- libraries/AP_OpticalFlow/AP_OpticalFlow_SITL.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_OpticalFlow/AP_OpticalFlow_SITL.h b/libraries/AP_OpticalFlow/AP_OpticalFlow_SITL.h index 258fe724bb..52be8ccae3 100644 --- a/libraries/AP_OpticalFlow/AP_OpticalFlow_SITL.h +++ b/libraries/AP_OpticalFlow/AP_OpticalFlow_SITL.h @@ -11,10 +11,10 @@ public: AP_OpticalFlow_SITL(OpticalFlow &_frontend); // init - initialise the sensor - void init(); + void init() override; // update - read latest values from sensor and fill in x,y and totals. - void update(void); + void update(void) override; private: SITL::SITL *_sitl;