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
This commit is contained in:
Peter Barker 2023-02-03 09:58:38 +11:00 committed by Peter Barker
parent 8155e0ab3b
commit 00c5991396
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public:
// get the home location. This is const to prevent any changes to // get the home location. This is const to prevent any changes to
// home without telling AHRS about the change // home without telling AHRS about the change
const struct Location &get_home(void) const { const class Location &get_home(void) const {
return _home; return _home;
} }