From acb60d2264fb203898b16f01952cdb3498ffac20 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 Oct 2017 05:34:51 +0200 Subject: logic/main-settings: simplify --- migration/20160906_00-mappings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration/20160906_00-mappings.cpp') diff --git a/migration/20160906_00-mappings.cpp b/migration/20160906_00-mappings.cpp index a5184825..4fac3a91 100644 --- a/migration/20160906_00-mappings.cpp +++ b/migration/20160906_00-mappings.cpp @@ -68,7 +68,7 @@ struct mappings_from_2_3_0_rc11 : migration static Mappings get_new_mappings() { main_settings s; - return Mappings(std::vector{&s.a_x, &s.a_y, &s.a_z, &s.a_yaw, &s.a_pitch, &s.a_roll}); + return Mappings(s.all_axis_opts); } bool should_run() const override -- cgit v1.2.3