mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use X.last() method instead of X[X.size()-1]
This commit is contained in:
@ -305,7 +305,7 @@ void Foam::meshReader::createPolyBoundary()
|
||||
|
||||
if (nMissingFaces > 0)
|
||||
{
|
||||
patchSizes_[patchSizes_.size() - 1] = nMissingFaces;
|
||||
patchSizes_.last() = nMissingFaces;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user