diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-11-15 14:20:41 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-11-15 14:20:41 -0500 |
| commit | eccf766a39d1ae425010af5fef0645ff78148fb6 (patch) | |
| tree | abe87e21103917da2d93e2445807f92b5238a02e /src/input_common/motion_input.h | |
| parent | 93312282aad26996c10494faaba25685d2acb65e (diff) | |
motion_input: Mark constructor as explicit
Diffstat (limited to 'src/input_common/motion_input.h')
| -rw-r--r-- | src/input_common/motion_input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/motion_input.h b/src/input_common/motion_input.h index ce7ab7f9b3..efe74cf19a 100644 --- a/src/input_common/motion_input.h +++ b/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; |
