elf: Make DidRelocate const
This commit is contained in:
parent
0d81b1e75b
commit
bf23f94571
|
@ -222,7 +222,7 @@ public:
|
||||||
int GetSectionSize(SectionID section) const { return sections[section].sh_size; }
|
int GetSectionSize(SectionID section) const { return sections[section].sh_size; }
|
||||||
SectionID GetSectionByName(const char *name, int firstSection = 0) const; //-1 for not found
|
SectionID GetSectionByName(const char *name, int firstSection = 0) const; //-1 for not found
|
||||||
|
|
||||||
bool DidRelocate() {
|
bool DidRelocate() const {
|
||||||
return relocate;
|
return relocate;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue