From a2a188533a1b71cbe5f1252940170ec5c8902b18 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 7 Feb 2017 15:11:49 -0500 Subject: [PATCH 1/2] GCKeyboardEmu: Make constructor explicit --- Source/Core/Core/HW/GCKeyboardEmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/GCKeyboardEmu.h b/Source/Core/Core/HW/GCKeyboardEmu.h index 6f48b465e3..d1729e6a9b 100644 --- a/Source/Core/Core/HW/GCKeyboardEmu.h +++ b/Source/Core/Core/HW/GCKeyboardEmu.h @@ -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); From 31dc2b9cc1b8c0bdd8ee9c3b0fe6eca862903d03 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 7 Feb 2017 15:12:15 -0500 Subject: [PATCH 2/2] GCPadEmu: Make constructor explicit --- Source/Core/Core/HW/GCPadEmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/GCPadEmu.h b/Source/Core/Core/HW/GCPadEmu.h index 067c3f2720..a239c299b5 100644 --- a/Source/Core/Core/HW/GCPadEmu.h +++ b/Source/Core/Core/HW/GCPadEmu.h @@ -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);