mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 06:29:59 +00:00
Rangify for loop in Cleanup(), NFC.
llvm-svn: 237695
This commit is contained in:
parent
eb7b2581e2
commit
5523499b46
@ -459,8 +459,8 @@ static void Cleanup() {
|
||||
}
|
||||
|
||||
if (CallBacksToRun)
|
||||
for (unsigned i = 0, e = CallBacksToRun->size(); i != e; ++i)
|
||||
(*CallBacksToRun)[i].first((*CallBacksToRun)[i].second);
|
||||
for (auto &I : *CallBacksToRun)
|
||||
I.first(I.second);
|
||||
|
||||
LeaveCriticalSection(&CriticalSection);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user