mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Attachment: Make constructors explicit where applicable
This commit is contained in:
parent
34262ee3d8
commit
34768617d2
6 changed files with 6 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue