diff --git a/libraries/AP_AHRS/AP_AHRS_Backend.h b/libraries/AP_AHRS/AP_AHRS_Backend.h index f5fe9c041b..39b4ff96bf 100644 --- a/libraries/AP_AHRS/AP_AHRS_Backend.h +++ b/libraries/AP_AHRS/AP_AHRS_Backend.h @@ -111,7 +111,7 @@ public: // get our current position estimate. Return true if a position is available, // otherwise false. This call fills in lat, lng and alt - virtual bool get_location(Location &loc) const WARN_IF_UNUSED = 0; + virtual bool get_location(class Location &loc) const WARN_IF_UNUSED = 0; // get latest altitude estimate above ground level in meters and validity flag virtual bool get_hagl(float &height) const WARN_IF_UNUSED { return false; }