From 0a50ba3bd18b6227fda1dc066826eb9cc6948673 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 15 Nov 2020 14:20:41 -0500 Subject: [PATCH] motion_input: Mark constructor as explicit --- src/input_common/motion_input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_common/motion_input.h b/src/input_common/motion_input.h index ce7ab7f9b..efe74cf19 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;