From 1eb2dc2b2f610b58e00d222aefcd77bcbeca4022 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 20 Sep 2019 09:58:21 -0700 Subject: [PATCH] AP_RangeFinder: add missing overrides --- libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h b/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h index b053cd7e32..c907cebc05 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h +++ b/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h @@ -92,11 +92,11 @@ public: ~AP_RangeFinder_Bebop(void); static bool detect(); - void update(void); + void update(void) override; protected: - virtual MAV_DISTANCE_SENSOR _get_mav_distance_sensor_type() const { + MAV_DISTANCE_SENSOR _get_mav_distance_sensor_type() const override { return MAV_DISTANCE_SENSOR_LASER; }