summaryrefslogtreecommitdiffhomepage
path: root/logic/mappings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/mappings.cpp')
-rw-r--r--logic/mappings.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/logic/mappings.cpp b/logic/mappings.cpp
index 115e9083..f9a149e3 100644
--- a/logic/mappings.cpp
+++ b/logic/mappings.cpp
@@ -1,5 +1,3 @@
-#pragma once
-
#include "mappings.hpp"
Map::Map(QString primary, QString secondary, int max_x, int max_y, axis_opts& opts) :
@@ -33,5 +31,5 @@ Mappings::Mappings(std::vector<axis_opts*> opts) :
Map("spline-yaw", "alt-spline-yaw", 180, 180, *opts[Yaw]),
Map("spline-pitch", "alt-spline-pitch", 180, 180, *opts[Pitch]),
Map("spline-roll", "alt-spline-roll", 180, 180, *opts[Roll])
- }
+ }
{}