1
0
Fork 0

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 { class ARM_Dynarmic final : public ARM_Interface {
public: public:
ARM_Dynarmic(PrivilegeMode initial_mode); explicit ARM_Dynarmic(PrivilegeMode initial_mode);
void Run() override; void Run() override;
void Step() override; void Step() override;

View File

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