Skip to content

Commit

Permalink
Merge pull request #4848 from lioncash/explicit
Browse files Browse the repository at this point in the history
GCKeyboardEmu/GCPadEmu: Make constructors explicit
  • Loading branch information
Parlane committed Feb 7, 2017
2 parents 3cda4e1 + 31dc2b9 commit 40a0295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/GCKeyboardEmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/GCPadEmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 40a0295

Please sign in to comment.