From 3f3ea33531d081ab1fbc28fd6e4aa28936148e5d Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Mon, 20 Oct 2014 20:33:20 +0000 Subject: [PATCH] Constify getELFDynamicSymbolIterators standalone function. NFC. llvm-svn: 220232 --- llvm/include/llvm/Object/ELFObjectFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Object/ELFObjectFile.h b/llvm/include/llvm/Object/ELFObjectFile.h index 54aa99c..4676ae8 100644 --- a/llvm/include/llvm/Object/ELFObjectFile.h +++ b/llvm/include/llvm/Object/ELFObjectFile.h @@ -934,7 +934,7 @@ inline std::error_code getELFRelocationAddend(const RelocationRef R, } inline std::pair -getELFDynamicSymbolIterators(SymbolicFile *Obj) { +getELFDynamicSymbolIterators(const SymbolicFile *Obj) { return cast(Obj)->getELFDynamicSymbolIterators(); } -- 2.7.4