x64Emitter: Make single argument constructor explicit
This commit is contained in:
parent
213d11dc62
commit
6e5f60bab7
|
@ -307,7 +307,7 @@ protected:
|
|||
|
||||
public:
|
||||
XEmitter() { code = nullptr; flags_locked = false; }
|
||||
XEmitter(u8* code_ptr) { code = code_ptr; flags_locked = false; }
|
||||
explicit XEmitter(u8* code_ptr) { code = code_ptr; flags_locked = false; }
|
||||
virtual ~XEmitter() {}
|
||||
|
||||
void SetCodePtr(u8* ptr);
|
||||
|
|
Loading…
Reference in New Issue