Merge pull request #4848 from lioncash/explicit

GCKeyboardEmu/GCPadEmu: Make constructors explicit
This commit is contained in:
Matthew Parlane 2017-02-08 09:34:14 +13:00 committed by GitHub
commit 40a0295d2d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);