motion_input: Mark constructor as explicit

This commit is contained in:
Lioncash 2020-11-15 14:20:41 -05:00
parent cb826bcee7
commit 0a50ba3bd1
1 changed files with 1 additions and 1 deletions

View File

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