253,254c253
< for (int i = 0; i < _numContexts; i++) {
< ThreadContext *tc = threadContexts[i];
---
> for (const auto tc : threadContexts) {