Explorar o código

elf: Make DidRelocate const

Lioncash %!s(int64=11) %!d(string=hai) anos
pai
achega
bf23f94571
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/loader/elf.cpp

+ 1 - 1
src/core/loader/elf.cpp

@@ -222,7 +222,7 @@ public:
     int GetSectionSize(SectionID section) const { return sections[section].sh_size; }
     SectionID GetSectionByName(const char *name, int firstSection = 0) const; //-1 for not found
 
-    bool DidRelocate() {
+    bool DidRelocate() const {
         return relocate;
     }
 };