Rangify for loop in Cleanup(), NFC.

llvm-svn: 237695
This commit is contained in:
Yaron Keren 2015-05-19 13:32:19 +00:00
parent eb7b2581e2
commit 5523499b46

View File

@ -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);
}