Use auto instead of the long type name. NFC.

llvm-svn: 236768
This commit is contained in:
Steven Wu 2015-05-07 19:56:23 +00:00
parent 0c809e87be
commit aed94a0bba
1 changed files with 1 additions and 2 deletions

View File

@ -206,8 +206,7 @@ static RETSIGTYPE SignalHandler(int Sig) {
// Otherwise if it is a fault (like SEGV) run any handler.
if (CallBacksToRun.isConstructed()) {
std::vector<std::pair<void (*)(void *), void *>>& CallBacksToRunRef =
*CallBacksToRun;
auto &CallBacksToRunRef = *CallBacksToRun;
for (unsigned i = 0, e = CallBacksToRun->size(); i != e; ++i)
CallBacksToRunRef[i].first(CallBacksToRunRef[i].second);
}