motion_input: Mark constructor as explicit
This commit is contained in:
parent
cb826bcee7
commit
0a50ba3bd1
|
@ -13,7 +13,7 @@ namespace InputCommon {
|
||||||
|
|
||||||
class MotionInput {
|
class MotionInput {
|
||||||
public:
|
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(const MotionInput&) = default;
|
||||||
MotionInput& operator=(const MotionInput&) = default;
|
MotionInput& operator=(const MotionInput&) = default;
|
||||||
|
|
Loading…
Reference in New Issue