AP_OpticalFlow: add override keyword where required

This commit is contained in:
Peter Barker 2018-11-07 23:13:02 +11:00 committed by Andrew Tridgell
parent 64eb8f0986
commit 327ccc8961

View File

@ -25,8 +25,8 @@ class AP_OpticalFlow_Onboard : public OpticalFlow_backend
{ {
public: public:
AP_OpticalFlow_Onboard(OpticalFlow &_frontend); AP_OpticalFlow_Onboard(OpticalFlow &_frontend);
void init(void); void init(void) override;
void update(void); void update(void) override;
private: private:
uint32_t _last_read_ms; uint32_t _last_read_ms;
}; };