From 2c150f42bfc2de1d2b3472db9b3963979638bf27 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 20 Sep 2024 22:20:41 +1000 Subject: [PATCH] AC_Avoidance: re-order initialiser lines so -Werror=reorder will work --- libraries/AC_Avoidance/AP_OADijkstra.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AC_Avoidance/AP_OADijkstra.cpp b/libraries/AC_Avoidance/AP_OADijkstra.cpp index e2cd63ec4d..efe5c24051 100644 --- a/libraries/AC_Avoidance/AP_OADijkstra.cpp +++ b/libraries/AC_Avoidance/AP_OADijkstra.cpp @@ -34,12 +34,12 @@ /// Constructor AP_OADijkstra::AP_OADijkstra(AP_Int16 &options) : - _options(options), _inclusion_polygon_pts(OA_DIJKSTRA_EXPANDING_ARRAY_ELEMENTS_PER_CHUNK), _exclusion_polygon_pts(OA_DIJKSTRA_EXPANDING_ARRAY_ELEMENTS_PER_CHUNK), _exclusion_circle_pts(OA_DIJKSTRA_EXPANDING_ARRAY_ELEMENTS_PER_CHUNK), _short_path_data(OA_DIJKSTRA_EXPANDING_ARRAY_ELEMENTS_PER_CHUNK), - _path(OA_DIJKSTRA_EXPANDING_ARRAY_ELEMENTS_PER_CHUNK) + _path(OA_DIJKSTRA_EXPANDING_ARRAY_ELEMENTS_PER_CHUNK), + _options(options) { }