From e505b3d5412500e2e7998776bb0681a01e0529fd 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220232 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/ELFObjectFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Object/ELFObjectFile.h b/include/llvm/Object/ELFObjectFile.h index 54aa99c6263..4676ae8bdbc 100644 --- a/include/llvm/Object/ELFObjectFile.h +++ b/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(); }