STYLE: document const-ness of isA, refCast

This commit is contained in:
Mark Olesen
2023-04-21 11:33:48 +02:00
parent 35c2b4b603
commit 7bef18a274
3 changed files with 16 additions and 9 deletions

View File

@ -66,8 +66,8 @@ labelList procNeighbours(const polyMesh& mesh)
forAll(mesh.boundaryMesh(), patchi)
{
const processorPolyPatch* procPatch =
isA<const processorPolyPatch>(mesh.boundaryMesh()[patchi]);
const auto* procPatch =
isA<processorPolyPatch>(mesh.boundaryMesh()[patchi]);
if (procPatch)
{