mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-17 08:15:02 +00:00
motion_input: Mark constructor as explicit
This commit is contained in:
parent
cb826bcee7
commit
0a50ba3bd1
|
@ -13,7 +13,7 @@ namespace InputCommon {
|
|||
|
||||
class MotionInput {
|
||||
public:
|
||||
MotionInput(f32 new_kp, f32 new_ki, f32 new_kd);
|
||||
explicit MotionInput(f32 new_kp, f32 new_ki, f32 new_kd);
|
||||
|
||||
MotionInput(const MotionInput&) = default;
|
||||
MotionInput& operator=(const MotionInput&) = default;
|
||||
|
|
Loading…
Reference in a new issue