mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
STYLE: use X.last() method instead of X[X.size()-1]
This commit is contained in:
@ -80,7 +80,7 @@ Foam::label Foam::mergePolyMesh::patchIndex(const polyPatch& p)
|
||||
<< pName << " in mesh " << caseName
|
||||
<< " already exists, but patch types "
|
||||
<< " do not match.\nCreating a composite name as "
|
||||
<< patchNames_[patchNames_.size() - 1] << endl;
|
||||
<< patchNames_.last() << endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user