diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2020-08-01 00:17:23 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2020-08-08 21:45:03 +0100 |
| commit | d2b06f47867449f112b7a782cdb626ab0f175cee (patch) | |
| tree | a37a472d347193f7caa2b49023a44da5beed29c0 /Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp | |
| parent | a161e58591cadc504c9751a563f4c065ad0f435a (diff) | |
Fix various -Wshadow warnings
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUGyroscope.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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")); |
