Permalink
Browse files

WiimoteEmu: Make constructor of Wiimote explicit

Prevents implicit conversions
  • Loading branch information...
lioncash committed Jul 12, 2018
1 parent 5b58977 commit 113a3576044502ba9e81d42fc5c2a3b8e24b3227
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h
@@ -226,7 +226,7 @@ class Wiimote : public ControllerEmu::EmulatedController
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);

0 comments on commit 113a357

Please sign in to comment.