浏览代码

elf: Make DidRelocate const

Lioncash 11 年之前
父节点
当前提交
bf23f94571
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
     }
 };