ElfReader: Make constructors explicit
This commit is contained in:
parent
1876505707
commit
1af1795695
|
@ -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…
Reference in New Issue