arm: Make CPU backend constructors explicit
Avoids implicit conversions
This commit is contained in:
parent
4b1253b51a
commit
e960628a14
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user