Tracker: add override keyword where required, fix bad method override

This commit is contained in:
Peter Barker 2018-11-07 22:10:19 +11:00 committed by Andrew Tridgell
parent 86168cd180
commit 65e4d74b1f
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ protected:
MAV_RESULT _handle_command_preflight_calibration_baro() override;
MAV_RESULT handle_command_long_packet(const mavlink_command_long_t &packet) override;
int32_t global_position_int_relative_alt() const {
int32_t global_position_int_relative_alt() const override {
return 0; // what if we have been picked up and carried somewhere?
}