AP_IRLock: added override keyword

This commit is contained in:
Andrew Tridgell 2017-04-14 06:40:41 +10:00
parent 5d4400f1b7
commit 7992a21f6f
2 changed files with 3 additions and 3 deletions

View File

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

View File

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