diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-06-20 13:30:37 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-06-20 13:30:37 +0000 |
commit | 6e1397dfbd108eb83cfdd9c48df131538d3a0432 (patch) | |
tree | afa64eda250fdddfe634d103e692a6343ab881f2 | |
parent | 51a18debe41d082808458b26ef7465cd4c2c0f3c (diff) |
[ELF] - Removed excessive reference from pointer arguments. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@273155 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | ELF/Writer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ELF/Writer.cpp b/ELF/Writer.cpp index 9a2d158d8..6e20305b4 100644 --- a/ELF/Writer.cpp +++ b/ELF/Writer.cpp @@ -1268,8 +1268,7 @@ static uint16_t getELFType() { // to each section. This function fixes some predefined absolute // symbol values that depend on section address and size. template <class ELFT> void Writer<ELFT>::fixAbsoluteSymbols() { - auto Set = [](DefinedRegular<ELFT> *&S1, DefinedRegular<ELFT> *&S2, - uintX_t V) { + auto Set = [](DefinedRegular<ELFT> *S1, DefinedRegular<ELFT> *S2, uintX_t V) { if (S1) S1->Value = V; if (S2) |