summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-01-23 01:21:09 -0500
committerLioncash <mathew1800@gmail.com>2017-01-23 04:42:27 -0500
commit34768617d2b8d686ad095056baae1ef2e3d52c8a (patch)
treeac548316a860cd943568ce15758a68f785628646
parent34262ee3d84c10310cd23cfc712a703710adff09 (diff)
Attachment: Make constructors explicit where applicable
-rw-r--r--Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.h2
-rw-r--r--Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.h2
-rw-r--r--Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.h2
-rw-r--r--Source/Core/Core/HW/WiimoteEmu/Attachment/Guitar.h2
-rw-r--r--Source/Core/Core/HW/WiimoteEmu/Attachment/Nunchuk.h2
-rw-r--r--Source/Core/Core/HW/WiimoteEmu/Attachment/Turntable.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.h b/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.h
index f1cffa44c3..7d5361795a 100644
--- a/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.h
+++ b/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.h
@@ -39,6 +39,6 @@ private:
class None : public Attachment
{
public:
- None(ExtensionReg& reg);
+ explicit None(ExtensionReg& reg);
};
} // namespace WiimoteEmu
diff --git a/Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.h b/Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.h
index cb91969b44..ac621859f6 100644
--- a/Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.h
+++ b/Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.h
@@ -14,7 +14,7 @@ struct ExtensionReg;
class Classic : public Attachment
{
public:
- Classic(ExtensionReg& reg);
+ explicit Classic(ExtensionReg& reg);
void GetState(u8* const data) override;
bool IsButtonPressed() const override;
diff --git a/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.h b/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.h
index 75c201b9be..993a3e597b 100644
--- a/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.h
+++ b/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.h
@@ -14,7 +14,7 @@ struct ExtensionReg;
class Drums : public Attachment
{
public:
- Drums(ExtensionReg& reg);
+ explicit Drums(ExtensionReg& reg);
void GetState(u8* const data) override;
bool IsButtonPressed() const override;
diff --git a/Source/Core/Core/HW/WiimoteEmu/Attachment/Guitar.h b/Source/Core/Core/HW/WiimoteEmu/Attachment/Guitar.h
index b0455a36c1..18549362c1 100644
--- a/Source/Core/Core/HW/WiimoteEmu/Attachment/Guitar.h
+++ b/Source/Core/Core/HW/WiimoteEmu/Attachment/Guitar.h
@@ -14,7 +14,7 @@ struct ExtensionReg;
class Guitar : public Attachment
{
public:
- Guitar(ExtensionReg& reg);
+ explicit Guitar(ExtensionReg& reg);
void GetState(u8* const data) override;
bool IsButtonPressed() const override;
diff --git a/Source/Core/Core/HW/WiimoteEmu/Attachment/Nunchuk.h b/Source/Core/Core/HW/WiimoteEmu/Attachment/Nunchuk.h
index 2071b19815..426d65afd2 100644
--- a/Source/Core/Core/HW/WiimoteEmu/Attachment/Nunchuk.h
+++ b/Source/Core/Core/HW/WiimoteEmu/Attachment/Nunchuk.h
@@ -15,7 +15,7 @@ struct ExtensionReg;
class Nunchuk : public Attachment
{
public:
- Nunchuk(ExtensionReg& reg);
+ explicit Nunchuk(ExtensionReg& reg);
void GetState(u8* const data) override;
bool IsButtonPressed() const override;
diff --git a/Source/Core/Core/HW/WiimoteEmu/Attachment/Turntable.h b/Source/Core/Core/HW/WiimoteEmu/Attachment/Turntable.h
index 5985f47180..7f917b3189 100644
--- a/Source/Core/Core/HW/WiimoteEmu/Attachment/Turntable.h
+++ b/Source/Core/Core/HW/WiimoteEmu/Attachment/Turntable.h
@@ -14,7 +14,7 @@ struct ExtensionReg;
class Turntable : public Attachment
{
public:
- Turntable(ExtensionReg& reg);
+ explicit Turntable(ExtensionReg& reg);
void GetState(u8* const data) override;
bool IsButtonPressed() const override;