mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-16 01:21:16 +00:00
WiimoteEmu: Make constructor of Wiimote explicit
Prevents implicit conversions
This commit is contained in:
parent
5b58977561
commit
113a357604
@ -226,7 +226,7 @@ public:
|
||||
BUTTON_HOME = 0x8000,
|
||||
};
|
||||
|
||||
Wiimote(unsigned int index);
|
||||
explicit Wiimote(unsigned int index);
|
||||
std::string GetName() const override;
|
||||
ControllerEmu::ControlGroup* GetWiimoteGroup(WiimoteGroup group);
|
||||
ControllerEmu::ControlGroup* GetNunchukGroup(NunchukGroup group);
|
||||
|
Loading…
x
Reference in New Issue
Block a user