summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-15 14:20:41 -0500
committerGravatar Lioncash2020-11-15 14:20:41 -0500
commit0a50ba3bd18b6227fda1dc066826eb9cc6948673 (patch)
treeabe87e21103917da2d93e2445807f92b5238a02e
parentmotion_input: Mark member functions as [[nodiscard]] where applicable (diff)
downloadyuzu-0a50ba3bd18b6227fda1dc066826eb9cc6948673.tar.gz
yuzu-0a50ba3bd18b6227fda1dc066826eb9cc6948673.tar.xz
yuzu-0a50ba3bd18b6227fda1dc066826eb9cc6948673.zip
motion_input: Mark constructor as explicit
Diffstat (limited to '')
-rw-r--r--src/input_common/motion_input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/motion_input.h b/src/input_common/motion_input.h
index ce7ab7f9b..efe74cf19 100644
--- a/src/input_common/motion_input.h
+++ b/src/input_common/motion_input.h
@@ -13,7 +13,7 @@ namespace InputCommon {
13 13
14class MotionInput { 14class MotionInput {
15public: 15public:
16 MotionInput(f32 new_kp, f32 new_ki, f32 new_kd); 16 explicit MotionInput(f32 new_kp, f32 new_ki, f32 new_kd);
17 17
18 MotionInput(const MotionInput&) = default; 18 MotionInput(const MotionInput&) = default;
19 MotionInput& operator=(const MotionInput&) = default; 19 MotionInput& operator=(const MotionInput&) = default;