mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 07:36:34 +00:00
ElfReader: Make constructors explicit
This commit is contained in:
parent
1876505707
commit
1af1795695
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ typedef int SectionID;
|
|||
class ElfReader final : public BootExecutableReader
|
||||
{
|
||||
public:
|
||||
ElfReader(const std::string& filename);
|
||||
ElfReader(const std::vector<u8>& buffer);
|
||||
explicit ElfReader(const std::string& filename);
|
||||
explicit ElfReader(const std::vector<u8>& buffer);
|
||||
~ElfReader() {}
|
||||
u32 Read32(int off) const { return base32[off >> 2]; }
|
||||
// Quick accessors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue