forked from OSchip/llvm-project
Use auto instead of the long type name. NFC.
llvm-svn: 236768
This commit is contained in:
parent
0c809e87be
commit
aed94a0bba
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue