summaryrefslogtreecommitdiffhomepage
path: root/logic/mappings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-25 17:37:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-25 17:37:53 +0200
commitdad66f3e04b8404073b5bff19a610a8095be849c (patch)
tree18f9678bc8207db84275e6066f6314f4006142e8 /logic/mappings.hpp
parent4a5c75c7ec2cb2becd942579ad9a80dc534fbd37 (diff)
logic/mappings: use explicit ctor
Diffstat (limited to 'logic/mappings.hpp')
-rw-r--r--logic/mappings.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/mappings.hpp b/logic/mappings.hpp
index f88e6820..726b0916 100644
--- a/logic/mappings.hpp
+++ b/logic/mappings.hpp
@@ -29,7 +29,7 @@ class OTR_LOGIC_EXPORT Mappings final
private:
Map axes[6];
public:
- Mappings(axis_opts** opts);
+ explicit Mappings(axis_opts** opts);
Map& operator()(int i) { return axes[i]; }
const Map& operator()(int i) const { return axes[i]; }