x64Emitter: Make single argument constructor explicit

This commit is contained in:
Lioncash 2015-09-22 19:51:14 -04:00
parent 213d11dc62
commit 6e5f60bab7
1 changed files with 1 additions and 1 deletions

View File

@ -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);