summaryrefslogtreecommitdiff
path: root/src/input_common/motion_from_button.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-10-14 02:51:14 -0400
committerGravatar Lioncash2020-10-15 19:37:51 -0400
commit046c0c91a3ed665531f20955e7cfb86fe5b73213 (patch)
tree94382af9cc339cf5f384f4d0c8938dd593b4e1c5 /src/input_common/motion_from_button.cpp
parentMerge pull request #4787 from lioncash/conversion (diff)
downloadyuzu-046c0c91a3ed665531f20955e7cfb86fe5b73213.tar.gz
yuzu-046c0c91a3ed665531f20955e7cfb86fe5b73213.tar.xz
yuzu-046c0c91a3ed665531f20955e7cfb86fe5b73213.zip
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 9d459f963..29045a673 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 {
11public: 11public:
12 using Button = std::unique_ptr<Input::ButtonDevice>; 12 using Button = std::unique_ptr<Input::ButtonDevice>;
13 13
14 MotionKey(Button key_) : key(std::move(key_)) {} 14 explicit MotionKey(Button key_) : key(std::move(key_)) {}
15 15
16 Input::MotionStatus GetStatus() const override { 16 Input::MotionStatus GetStatus() const override {
17 17