mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use list methods find/found instead of findIndex function
This commit is contained in:
@ -857,7 +857,7 @@ autoPtr<mapDistributePolyMesh> redistributeAndWrite
|
||||
// processors
|
||||
autoPtr<fvMeshSubset> subsetterPtr;
|
||||
|
||||
const bool allHaveMesh = (findIndex(haveMesh, false) == -1);
|
||||
const bool allHaveMesh = !haveMesh.found(false);
|
||||
if (!allHaveMesh)
|
||||
{
|
||||
// Find last non-processor patch.
|
||||
|
||||
Reference in New Issue
Block a user