From a40b3879fbcf7d6202417133822be2a661a3e33b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 21 Sep 2024 15:21:57 +1000 Subject: [PATCH] AC_CustomControl: re-order initialiser lines so -Werror=reorder will work --- libraries/AC_CustomControl/AC_CustomControl_Backend.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AC_CustomControl/AC_CustomControl_Backend.h b/libraries/AC_CustomControl/AC_CustomControl_Backend.h index 391353585a..10dfb4b41b 100644 --- a/libraries/AC_CustomControl/AC_CustomControl_Backend.h +++ b/libraries/AC_CustomControl/AC_CustomControl_Backend.h @@ -10,10 +10,10 @@ class AC_CustomControl_Backend { public: AC_CustomControl_Backend(AC_CustomControl& frontend, AP_AHRS_View*& ahrs, AC_AttitudeControl*& att_control, AP_MotorsMulticopter*& motors, float dt) : - _frontend(frontend), _ahrs(ahrs), _att_control(att_control), - _motors(motors) + _motors(motors), + _frontend(frontend) {} // empty destructor to suppress compiler warning