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

This commit is contained in:
Peter Barker 2024-09-21 15:21:57 +10:00 committed by Peter Barker
parent 3a4d890a83
commit a40b3879fb
1 changed files with 2 additions and 2 deletions

View File

@ -10,10 +10,10 @@ class AC_CustomControl_Backend
{ {
public: public:
AC_CustomControl_Backend(AC_CustomControl& frontend, AP_AHRS_View*& ahrs, AC_AttitudeControl*& att_control, AP_MotorsMulticopter*& motors, float dt) : AC_CustomControl_Backend(AC_CustomControl& frontend, AP_AHRS_View*& ahrs, AC_AttitudeControl*& att_control, AP_MotorsMulticopter*& motors, float dt) :
_frontend(frontend),
_ahrs(ahrs), _ahrs(ahrs),
_att_control(att_control), _att_control(att_control),
_motors(motors) _motors(motors),
_frontend(frontend)
{} {}
// empty destructor to suppress compiler warning // empty destructor to suppress compiler warning