AR_WPNav: 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 2447be861e
commit a0978d9d0a
1 changed files with 2 additions and 2 deletions

View File

@ -88,9 +88,9 @@ const AP_Param::GroupInfo AR_WPNav::var_info[] = {
}; };
AR_WPNav::AR_WPNav(AR_AttitudeControl& atc, AR_PosControl &pos_control) : AR_WPNav::AR_WPNav(AR_AttitudeControl& atc, AR_PosControl &pos_control) :
_pivot(atc),
_atc(atc), _atc(atc),
_pos_control(pos_control), _pos_control(pos_control)
_pivot(atc)
{ {
AP_Param::setup_object_defaults(this, var_info); AP_Param::setup_object_defaults(this, var_info);
} }