Copter: mark vtol_state and landed_state methods as override

This commit is contained in:
Peter Barker 2019-03-15 09:27:34 +11:00 committed by Andrew Tridgell
parent 716b0fdc88
commit 227f6499d3
1 changed files with 2 additions and 2 deletions

View File

@ -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: