mirror of https://github.com/ArduPilot/ardupilot
AP_SurfaceDistance: re-order initialiser lines so -Werror=reorder will work
This commit is contained in:
parent
bb9a0a5b2f
commit
2447be861e
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue