mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 03:32:58 +00:00
Attachment: Make constructors explicit where applicable
This commit is contained in:
parent
34262ee3d8
commit
34768617d2
@ -39,6 +39,6 @@ private:
|
||||
class None : public Attachment
|
||||
{
|
||||
public:
|
||||
None(ExtensionReg& reg);
|
||||
explicit None(ExtensionReg& reg);
|
||||
};
|
||||
} // namespace WiimoteEmu
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user