From 227f6499d3350a8180b99fbfb282d7ffc9b69ec8 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 15 Mar 2019 09:27:34 +1100 Subject: [PATCH] Copter: mark vtol_state and landed_state methods as override --- ArduCopter/GCS_Mavlink.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/GCS_Mavlink.h b/ArduCopter/GCS_Mavlink.h index c733c8dd42..b83e1886ba 100644 --- a/ArduCopter/GCS_Mavlink.h +++ b/ArduCopter/GCS_Mavlink.h @@ -42,8 +42,8 @@ protected: void send_nav_controller_output() const override; uint64_t capabilities() const override; - virtual MAV_VTOL_STATE vtol_state() const { return MAV_VTOL_STATE_MC; }; - virtual MAV_LANDED_STATE landed_state() const; + virtual MAV_VTOL_STATE vtol_state() const override { return MAV_VTOL_STATE_MC; }; + virtual MAV_LANDED_STATE landed_state() const override; private: