AP_SurfaceDistance: re-order initialiser lines so -Werror=reorder will work

This commit is contained in:
Peter Barker 2024-09-20 22:20:44 +10:00 committed by Peter Barker
parent bb9a0a5b2f
commit 2447be861e
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,11 @@
class AP_SurfaceDistance {
public:
AP_SurfaceDistance(Rotation rot, const AP_InertialNav& inav, uint8_t i) : rotation(rot), inertial_nav(inav), instance(i) {};
AP_SurfaceDistance(Rotation rot, const AP_InertialNav& inav, uint8_t i) :
instance(i),
inertial_nav(inav),
rotation(rot)
{};
void update();