arm: Make CPU backend constructors explicit

Avoids implicit conversions
This commit is contained in:
Lioncash 2017-12-06 19:37:53 -05:00
parent 4b1253b51a
commit e960628a14
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ struct PageTable;
class ARM_Dynarmic final : public ARM_Interface {
public:
ARM_Dynarmic(PrivilegeMode initial_mode);
explicit ARM_Dynarmic(PrivilegeMode initial_mode);
void Run() override;
void Step() override;

View file

@ -12,7 +12,7 @@
class ARM_DynCom final : public ARM_Interface {
public:
ARM_DynCom(PrivilegeMode initial_mode);
explicit ARM_DynCom(PrivilegeMode initial_mode);
~ARM_DynCom();
void Run() override;