[ELF] Fix Windows build error

Attempt to fix Windows buildbots From 307131 Replaced return {ET, false};
with return std::make_pair(ET, false);

llvm-svn: 307137
This commit is contained in:
Peter Smith 2017-07-05 10:15:46 +00:00
parent fa23764278
commit 283b9f2de3

View File

@ -1054,12 +1054,12 @@ std::pair<Thunk *, bool> ThunkCreator::getThunk(SymbolBody &Body,
// Check existing Thunks for Body to see if they can be reused
for (Thunk *ET : Res.first->second)
if (ET->isCompatibleWith(Type))
return {ET, false};
return std::make_pair(ET, false);
}
// No existing compatible Thunk in range, create a new one
Thunk *T = addThunk(Type, Body);
Res.first->second.push_back(T);
return {T, true};
return std::make_pair(T, true);
}
// Call Fn on every executable InputSection accessed via the linker script