mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
Use auto instead of the long type name. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d887b7ef2f
commit
82b39321e5
@ -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
Block a user