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:
@ -1369,7 +1369,7 @@ void Foam::distributedTriSurfaceMesh::surfaceSide
|
||||
for (const edge& e : edges)
|
||||
{
|
||||
auto iter = edgeToFaces.find(e);
|
||||
if (iter.found())
|
||||
if (iter.good())
|
||||
{
|
||||
if (iter().second() == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user