mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
ElfReader: Make constructor explicit
Allowing implicit conversions here is definitely not desirable.
This commit is contained in:
parent
a2750a82dd
commit
e6ffce3ac9
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ private:
|
||||||
u32 entryPoint;
|
u32 entryPoint;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ElfReader(void* ptr);
|
explicit ElfReader(void* ptr);
|
||||||
~ElfReader() {}
|
~ElfReader() {}
|
||||||
u32 Read32(int off) const { return base32[off >> 2]; }
|
u32 Read32(int off) const { return base32[off >> 2]; }
|
||||||
// Quick accessors
|
// Quick accessors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue