ElfReader: Make constructors explicit

This commit is contained in:
Lioncash 2017-06-06 22:58:06 -04:00
parent 1876505707
commit 1af1795695
1 changed files with 2 additions and 2 deletions

View File

@ -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