STYLE: use HashTable iterator 'val()' method instead of 'object()'

This commit is contained in:
Mark Olesen
2019-01-18 16:26:50 +01:00
parent 53efb24a8d
commit ed94a2714d
57 changed files with 134 additions and 139 deletions

View File

@ -431,7 +431,7 @@ Foam::face Foam::meshCutter::addEdgeCutsToFace(const label facei) const
if (fnd.found())
{
// edge has been cut. Introduce new vertex.
newFace[newFp++] = fnd.object();
newFace[newFp++] = fnd.val();
}
}
@ -489,7 +489,7 @@ Foam::face Foam::meshCutter::loopToFace
if (fnd.found())
{
newFace[newFacei++] = fnd.object();
newFace[newFacei++] = fnd.val();
}
}
}
@ -1074,7 +1074,7 @@ void Foam::meshCutter::updateMesh(const mapPolyMesh& morphMap)
forAllConstIters(addedPoints_, iter)
{
const edge& e = iter.key();
const label addedPointi = iter.object();
const label addedPointi = iter.val();
label newStart = morphMap.reversePointMap()[e.start()];