From 6622a4579e9ef754cc2f8dec6d6d0fae344dc6fd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 19 Mar 2019 12:10:07 +1100 Subject: [PATCH] AP_AHRS: fixed warning on WARN_IF_UNUSED --- libraries/AP_AHRS/AP_AHRS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_AHRS/AP_AHRS.h b/libraries/AP_AHRS/AP_AHRS.h index ed813ab7ac..1a7d101ca3 100644 --- a/libraries/AP_AHRS/AP_AHRS.h +++ b/libraries/AP_AHRS/AP_AHRS.h @@ -364,7 +364,7 @@ public: // return a Down position relative to home in meters // if EKF is unavailable will return the baro altitude - virtual void get_relative_position_D_home(float &posD) const WARN_IF_UNUSED = 0; + virtual void get_relative_position_D_home(float &posD) const = 0; // return a Down position relative to origin in meters // Return true if estimate is valid