AP_RangeFinder: add override keyword where required

This commit is contained in:
Peter Barker 2018-11-07 22:01:51 +11:00 committed by Andrew Tridgell
parent e0ab431ebd
commit 94e0485bdf
14 changed files with 15 additions and 15 deletions

View File

@ -27,7 +27,7 @@ public:
static bool detect();
// update state
void update(void);
void update(void) override;
protected:

View File

@ -23,7 +23,7 @@ public:
static bool detect(AP_SerialManager &serial_manager, uint8_t serial_instance);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -50,7 +50,7 @@ public:
static bool detect(AP_SerialManager &serial_manager, uint8_t serial_instance);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -13,7 +13,7 @@ public:
AP_HAL::OwnPtr<AP_HAL::I2CDevice> dev);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -16,7 +16,7 @@ public:
static bool detect(AP_SerialManager &serial_manager, uint8_t serial_instance);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -17,10 +17,10 @@ public:
static bool detect();
// update state
void update(void);
void update(void) override;
// Get update from mavlink
void handle_msg(mavlink_message_t *msg);
void handle_msg(mavlink_message_t *msg) override;
protected:

View File

@ -15,7 +15,7 @@ public:
AP_HAL::OwnPtr<AP_HAL::I2CDevice> dev);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -16,7 +16,7 @@ public:
static bool detect(AP_SerialManager &serial_manager, uint8_t serial_instance);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -30,7 +30,7 @@ public:
static bool detect();
// update state
void update(void);
void update(void) override;
protected:

View File

@ -30,7 +30,7 @@ public:
static bool detect();
// update state
void update(void);
void update(void) override;
protected:

View File

@ -12,7 +12,7 @@ public:
AP_HAL::OwnPtr<AP_HAL::I2CDevice> i2c_dev);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -12,7 +12,7 @@ public:
static AP_RangeFinder_Backend *detect(RangeFinder::RangeFinder_State &_state, AP_HAL::OwnPtr<AP_HAL::I2CDevice> dev);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -13,7 +13,7 @@ public:
static bool detect(RangeFinder::RangeFinder_State &_state);
// update state
void update(void);
void update(void) override;
protected:

View File

@ -16,7 +16,7 @@ public:
static bool detect(AP_SerialManager &serial_manager, uint8_t serial_instance);
// update state
void update(void);
void update(void) override;
protected: