mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
WiimoteEmu: Make constructor of Wiimote explicit
Prevents implicit conversions
This commit is contained in:
@ -226,7 +226,7 @@ public:
|
|||||||
BUTTON_HOME = 0x8000,
|
BUTTON_HOME = 0x8000,
|
||||||
};
|
};
|
||||||
|
|
||||||
Wiimote(unsigned int index);
|
explicit Wiimote(unsigned int index);
|
||||||
std::string GetName() const override;
|
std::string GetName() const override;
|
||||||
ControllerEmu::ControlGroup* GetWiimoteGroup(WiimoteGroup group);
|
ControllerEmu::ControlGroup* GetWiimoteGroup(WiimoteGroup group);
|
||||||
ControllerEmu::ControlGroup* GetNunchukGroup(NunchukGroup group);
|
ControllerEmu::ControlGroup* GetNunchukGroup(NunchukGroup group);
|
||||||
|
Reference in New Issue
Block a user