summaryrefslogtreecommitdiffhomepage
path: root/logic/mappings.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-28 11:02:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-03-28 11:08:57 +0200
commit5103b3c23879797023c79254d0bae83ee4eb6a01 (patch)
treee6d6fff66d180b4f88e52852fae4bc8ea93dda9e /logic/mappings.cpp
parent7337f89f4d69cc0e5fe3a72f9f6773ecf9b24cc5 (diff)
trivial only
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])
- }
+ }
{}