mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-16 20:27:18 +01:00
motion_input: Mark constructor as explicit
This commit is contained in:
1 parent
93312282aa
commit
eccf766a39
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user