mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: check iterator validity with good() instead of found()
- aligns better with other container checks
This commit is contained in:
@ -399,7 +399,7 @@ void Foam::createShellMesh::calcPointRegions
|
||||
|
||||
const auto fnd = globalToLocalRegion.cfind(globalRegionI);
|
||||
|
||||
if (fnd.found())
|
||||
if (fnd.good())
|
||||
{
|
||||
// Already encountered this global region. Assign same local one
|
||||
pRegions[fp] = fnd();
|
||||
|
||||
Reference in New Issue
Block a user