AP_Baro: remove pointless destructor overrides

This commit is contained in:
Peter Barker 2018-01-02 11:33:08 +11:00 committed by Andrew Tridgell
parent 05fb28c7f9
commit c56486a39e
5 changed files with 2 additions and 7 deletions

View File

@ -17,7 +17,6 @@ public:
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
private:
virtual ~AP_Baro_BMP280(void) {};
bool _init(void);
void _timer(void);

View File

@ -21,8 +21,7 @@ public:
private:
AP_Baro_ICM20789(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
virtual ~AP_Baro_ICM20789(void) {};
bool init();
bool send_cmd16(uint16_t cmd);

View File

@ -44,7 +44,6 @@ public:
private:
AP_Baro_KellerLD(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
virtual ~AP_Baro_KellerLD(void) {};
bool _init();

View File

@ -21,7 +21,6 @@ public:
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
private:
virtual ~AP_Baro_LPS25H(void) {};
bool _init(void);
void _timer(void);

View File

@ -38,8 +38,7 @@ private:
uint8_t *count, uint8_t max_count);
AP_Baro_MS56XX(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev, enum MS56XX_TYPE ms56xx_type);
virtual ~AP_Baro_MS56XX(void) {};
bool _init();
void _calculate_5611();