diff --git a/libraries/AP_AHRS/AP_AHRS.h b/libraries/AP_AHRS/AP_AHRS.h index da26f60b07..a1f96a482b 100644 --- a/libraries/AP_AHRS/AP_AHRS.h +++ b/libraries/AP_AHRS/AP_AHRS.h @@ -90,6 +90,9 @@ public: _home.lat = 0; } + // empty virtual destructor + virtual ~AP_AHRS() {} + // init sets up INS board orientation virtual void init() { set_orientation();