Merge pull request #4848 from lioncash/explicit
GCKeyboardEmu/GCPadEmu: Make constructors explicit
This commit is contained in:
commit
40a0295d2d
|
@ -25,7 +25,7 @@ enum class KeyboardGroup
|
|||
class GCKeyboard : public ControllerEmu
|
||||
{
|
||||
public:
|
||||
GCKeyboard(const unsigned int index);
|
||||
explicit GCKeyboard(unsigned int index);
|
||||
KeyboardStatus GetInput() const;
|
||||
std::string GetName() const override;
|
||||
ControlGroup* GetGroup(KeyboardGroup group);
|
||||
|
|
|
@ -25,7 +25,7 @@ enum class PadGroup
|
|||
class GCPad : public ControllerEmu
|
||||
{
|
||||
public:
|
||||
GCPad(const unsigned int index);
|
||||
explicit GCPad(unsigned int index);
|
||||
GCPadStatus GetInput() const;
|
||||
void SetOutput(const ControlState strength);
|
||||
|
||||
|
|
Loading…
Reference in New Issue