aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/motion_from_button.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-14 02:51:14 -0400
committerLioncash <mathew1800@gmail.com>2020-10-15 19:37:51 -0400
commitd44d662529f7753ab1f20a25cf2e6e536b9cb952 (patch)
tree94382af9cc339cf5f384f4d0c8938dd593b4e1c5 /src/input_common/motion_from_button.cpp
parent72df55f8a5c90bf8a662ab77688e4156ff90839f (diff)
input_common/CMakeLists: Make some warnings errors
Makes the input_common code warnings consistent with the rest of the codebase.
Diffstat (limited to 'src/input_common/motion_from_button.cpp')
-rw-r--r--src/input_common/motion_from_button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/motion_from_button.cpp b/src/input_common/motion_from_button.cpp
index 9d459f963b..29045a673f 100644
--- a/src/input_common/motion_from_button.cpp
+++ b/src/input_common/motion_from_button.cpp
@@ -11,7 +11,7 @@ class MotionKey final : public Input::MotionDevice {
public:
using Button = std::unique_ptr<Input::ButtonDevice>;
- MotionKey(Button key_) : key(std::move(key_)) {}
+ explicit MotionKey(Button key_) : key(std::move(key_)) {}
Input::MotionStatus GetStatus() const override {