mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fix various -Wshadow warnings
This commit is contained in:
@ -56,14 +56,14 @@ ControlState AnalogStick::GetGateRadiusAtAngle(double ang) const
|
||||
return m_stick_gate->GetRadiusAtAngle(ang);
|
||||
}
|
||||
|
||||
OctagonAnalogStick::OctagonAnalogStick(const char* name, ControlState gate_radius)
|
||||
: OctagonAnalogStick(name, name, gate_radius)
|
||||
OctagonAnalogStick::OctagonAnalogStick(const char* name_, ControlState gate_radius)
|
||||
: OctagonAnalogStick(name_, name_, gate_radius)
|
||||
{
|
||||
}
|
||||
|
||||
OctagonAnalogStick::OctagonAnalogStick(const char* name, const char* ui_name,
|
||||
OctagonAnalogStick::OctagonAnalogStick(const char* name_, const char* ui_name_,
|
||||
ControlState gate_radius)
|
||||
: AnalogStick(name, ui_name, std::make_unique<ControllerEmu::OctagonStickGate>(gate_radius))
|
||||
: AnalogStick(name_, ui_name_, std::make_unique<ControllerEmu::OctagonStickGate>(gate_radius))
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user