diff options
Diffstat (limited to 'logic/mappings.hpp')
-rw-r--r-- | logic/mappings.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/logic/mappings.hpp b/logic/mappings.hpp index f88e6820..be7dd3a2 100644 --- a/logic/mappings.hpp +++ b/logic/mappings.hpp @@ -29,12 +29,10 @@ 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]; } - Map& operator()(unsigned i) { return axes[i]; } - const Map& operator()(unsigned i) const { return axes[i]; } template<typename f> void forall(f&& fun) { |