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
|
class ElfReader final : public BootExecutableReader
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ElfReader(const std::string& filename);
|
explicit ElfReader(const std::string& filename);
|
||||||
ElfReader(const std::vector<u8>& buffer);
|
explicit ElfReader(const std::vector<u8>& buffer);
|
||||||
~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…
Reference in New Issue