summaryrefslogtreecommitdiffhomepage
path: root/logic/mappings.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-24 18:09:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-27 16:42:59 +0200
commitfcafbe06947bf24f9c9ac2811dcbd123a672a380 (patch)
treeeec1b46e6ab4c261a59300001b51a8fbdf115a17 /logic/mappings.cpp
parent17c2d20f7e9036351abf9f86bc09636e0b8a0559 (diff)
logic: use c++14-style in-line initializers
Diffstat (limited to 'logic/mappings.cpp')
-rw-r--r--logic/mappings.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/logic/mappings.cpp b/logic/mappings.cpp
index 8144f9b4..81bade4b 100644
--- a/logic/mappings.cpp
+++ b/logic/mappings.cpp
@@ -23,13 +23,3 @@ void Map::load()
spline_alt.reload();
}
-Mappings::Mappings(std::vector<axis_opts*> opts) :
- axes {
- Map("spline-X", "alt-spline-X", *opts[TX]),
- Map("spline-Y", "alt-spline-Y", *opts[TY]),
- Map("spline-Z", "alt-spline-Z", *opts[TZ]),
- Map("spline-yaw", "alt-spline-yaw", *opts[Yaw]),
- Map("spline-pitch", "alt-spline-pitch", *opts[Pitch]),
- Map("spline-roll", "alt-spline-roll", *opts[Roll])
- }
-{}