Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai>
  • Loading branch information
arjo129 committed Nov 24, 2023
1 parent a4c89e3 commit 89a0f7d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Barrier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ void Barrier::Drop()
this->dataPtr->threadCount--;
this->dataPtr->count--;
this->dataPtr->cv.notify_all();
}
}
2 changes: 1 addition & 1 deletion src/SimulationRunner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ void SimulationRunner::ProcessSystemQueue()
}
this->postUpdateStopBarrier->Wait();
}

gzerr << "Exiting postupdate worker thread ("
<< id << ")" << std::endl;
}));
Expand Down
6 changes: 3 additions & 3 deletions src/SystemManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ void SystemManager::AddSystemImpl(
}

//////////////////////////////////////////////////
const std::vector<SystemHolder<ISystemConfigure>>& SystemManager::SystemsConfigure()
const std::vector<SystemHolder<ISystemConfigure>>&
SystemManager::SystemsConfigure()
{
return this->systemsConfigure;
}
Expand Down Expand Up @@ -486,8 +487,7 @@ void SystemManager::ProcessRemovedEntities(
auto threads = _threadsToTerminate.find(system.parent);
if (threads == _threadsToTerminate.end()) {
_threadsToTerminate.emplace(system.parent, 1);
}
else {
} else {
threads->second++;

Check warning on line 491 in src/SystemManager.cc

View check run for this annotation

Codecov / codecov/patch

src/SystemManager.cc#L491

Added line #L491 was not covered by tests
}
gzerr << "Terminating system for" << system.parent <<"\n";
Expand Down

0 comments on commit 89a0f7d

Please sign in to comment.