summaryrefslogtreecommitdiff
path: root/src/input_common/motion_from_button.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-10-15 20:59:34 -0700
committerGitHub <noreply@github.com>2020-10-15 20:59:34 -0700
commit64f967fd4958abb5a02191a81e91fc8b33bcf4c5 (patch)
tree97a73da4871f006b39eafca3a881ae2ea42f206a /src/input_common/motion_from_button.cpp
parentdbd1662ae24fab86b1686f7b676ec1229062d6bb (diff)
parent046c0c91a3ed665531f20955e7cfb86fe5b73213 (diff)
Merge pull request #4790 from lioncash/input-common
input_common/CMakeLists: Make some warnings errors
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 {
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 {