From 00c59913969ba745b471eeb04ec3b375fcaf7305 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 3 Feb 2023 09:58:38 +1100 Subject: [PATCH] AP_DAL: avoid using struct Location clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h --- libraries/AP_DAL/AP_DAL.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_DAL/AP_DAL.h b/libraries/AP_DAL/AP_DAL.h index dbac21732f..8b86a4122d 100644 --- a/libraries/AP_DAL/AP_DAL.h +++ b/libraries/AP_DAL/AP_DAL.h @@ -190,7 +190,7 @@ public: // get the home location. This is const to prevent any changes to // home without telling AHRS about the change - const struct Location &get_home(void) const { + const class Location &get_home(void) const { return _home; }