From d2b06f47867449f112b7a782cdb626ab0f175cee Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sat, 1 Aug 2020 00:17:23 +0100 Subject: Fix various -Wshadow warnings --- Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp') diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp index 8837c67f13..ef0e10d168 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp @@ -24,8 +24,8 @@ static constexpr auto MAXIMUM_CALIBRATION_DURATION = std::chrono::hours(1); // This is made slightly lower than the UI update frequency of 30. static constexpr auto WORST_ACCEPTABLE_CALIBRATION_UPDATE_FREQUENCY = 25; -IMUGyroscope::IMUGyroscope(std::string name, std::string ui_name) - : ControlGroup(std::move(name), std::move(ui_name), GroupType::IMUGyroscope) +IMUGyroscope::IMUGyroscope(std::string name_, std::string ui_name_) + : ControlGroup(std::move(name_), std::move(ui_name_), GroupType::IMUGyroscope) { AddInput(Translate, _trans("Pitch Up")); AddInput(Translate, _trans("Pitch Down")); -- cgit v1.2.3