Replace auto with the real type.

llvm-svn: 259455
This commit is contained in:
Rui Ueyama 2016-02-02 02:29:03 +00:00
parent 078e984d8d
commit 5cbf5d207a
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ template <class ELFT> void GotSection<ELFT>::finalize() {
template <class ELFT> void GotSection<ELFT>::writeTo(uint8_t *Buf) {
Target->writeGotHeader(Buf);
for (const auto &L : MipsLocalGotPos) {
for (std::pair<uintX_t, size_t> &L : MipsLocalGotPos) {
uint8_t *Entry = Buf + L.second * sizeof(uintX_t);
write<uintX_t, ELFT::TargetEndianness, sizeof(uintX_t)>(Entry, L.first);
}