mirror of https://github.com/ArduPilot/ardupilot
AP_IRLock: added override keyword
This commit is contained in:
parent
5d4400f1b7
commit
7992a21f6f
|
@ -13,7 +13,7 @@ public:
|
|||
void init(int8_t bus) override;
|
||||
|
||||
// retrieve latest sensor data - returns true if new data is available
|
||||
bool update();
|
||||
bool update() override;
|
||||
|
||||
private:
|
||||
AP_HAL::OwnPtr<AP_HAL::Device> dev;
|
||||
|
|
|
@ -16,10 +16,10 @@ public:
|
|||
AP_IRLock_SITL();
|
||||
|
||||
// init - initialize sensor library
|
||||
virtual void init(int8_t bus);
|
||||
void init(int8_t bus) override;
|
||||
|
||||
// retrieve latest sensor data - returns true if new data is available
|
||||
virtual bool update();
|
||||
bool update() override;
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Reference in New Issue