core: Make converting constructors explicit where applicable

Avoids unwanted implicit conversions. Thankfully, given the large amount
of cleanup in past PRs, only this tiny amount is left over to cover.
This commit is contained in:
Lioncash 2018-07-23 23:10:48 -04:00
parent 236789a321
commit 88f34a5b96
5 changed files with 5 additions and 5 deletions

View file

@ -190,7 +190,7 @@ private:
u32 entryPoint;
public:
ElfReader(void* ptr);
explicit ElfReader(void* ptr);
u32 Read32(int off) const {
return base32[off >> 2];