summaryrefslogtreecommitdiffhomepage
path: root/migration
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-20 05:34:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-20 05:34:51 +0200
commitacb60d2264fb203898b16f01952cdb3498ffac20 (patch)
tree9261a5e0c67147dd22333f5cd29e8d35c91a8541 /migration
parent3ffb397c4dfd6d00383f62a9e8814f4670c240be (diff)
logic/main-settings: simplify
Diffstat (limited to 'migration')
-rw-r--r--migration/20160906_00-mappings.cpp2
1 files changed, 1 insertions, 1 deletions
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<axis_opts*>{&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