ELF: Make private members private.

llvm-svn: 234077
This commit is contained in:
Rui Ueyama 2015-04-04 02:26:17 +00:00
parent aa1eb0c2a5
commit 103cb33d08
1 changed files with 2 additions and 2 deletions

View File

@ -48,11 +48,11 @@ public:
return std::error_code();
}
const Elf_Ehdr *elfHeader(const MemoryBuffer &buf) const {
private:
static const Elf_Ehdr *elfHeader(const MemoryBuffer &buf) {
return reinterpret_cast<const Elf_Ehdr *>(buf.getBuffer().data());
}
protected:
ContextT &_ctx;
};