motion_input: Mark constructor as explicit

This commit is contained in:
Lioncash 2020-11-15 14:20:41 -05:00
parent cb826bcee7
commit 0a50ba3bd1

View File

@ -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;