429c429
< int active_threads = (*activeThreads).size();
---
> int active_threads = activeThreads->size();
431,432c431,432
< std::list<unsigned>::iterator threads = (*activeThreads).begin();
< std::list<unsigned>::iterator list_end = (*activeThreads).end();
---
> std::list<unsigned>::iterator threads = activeThreads->begin();
> std::list<unsigned>::iterator end = activeThreads->end();
434c434,436
< while (threads != list_end) {
---
> while (threads != end) {
> unsigned tid = *threads++;
>
436c438
< maxEntries[*threads++] = numEntries / active_threads;
---
> maxEntries[tid] = numEntries / active_threads;
438c440
< maxEntries[*threads++] = numEntries;
---
> maxEntries[tid] = numEntries;