mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
ElfReader: Make constructor explicit
Allowing implicit conversions here is definitely not desirable.
This commit is contained in:
parent
a2750a82dd
commit
e6ffce3ac9
@ -31,7 +31,7 @@ private:
|
||||
u32 entryPoint;
|
||||
|
||||
public:
|
||||
ElfReader(void* ptr);
|
||||
explicit ElfReader(void* ptr);
|
||||
~ElfReader() {}
|
||||
u32 Read32(int off) const { return base32[off >> 2]; }
|
||||
// Quick accessors
|
||||
|
Loading…
x
Reference in New Issue
Block a user