Browse Source

motion_input: Mark constructor as explicit

pull/15/merge
Lioncash 5 years ago
parent
commit
0a50ba3bd1
  1. 2
      src/input_common/motion_input.h

2
src/input_common/motion_input.h

@ -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…
Cancel
Save