clean-up formatting

Change-Id: I2071e53cceb93cbe02d6bdfa238aa6ce770b0534
This commit is contained in:
Mathias Agopian
2018-08-06 14:42:11 -07:00
committed by Romain Guy
parent f9e1d58772
commit 94c3623c1c
2 changed files with 9 additions and 9 deletions

View File

@@ -136,10 +136,10 @@ JobSystem::JobSystem(size_t threadCount, size_t adoptableThreadsCount) noexcept
auto& states = mThreadStates;
#pragma nounroll
for (size_t i=0, n= states.size() ; i < n ; i++) {
auto &state = states[i];
for (size_t i = 0, n = states.size(); i < n; i++) {
auto& state = states[i];
state.rndGen = default_random_engine(rd());
state.mask = uint32_t(1UL << i);
state.mask = uint32_t(1UL << i);
state.js = this;
if (i < hardwareThreadCount) {
// don't start a thread of adoptable thread slots