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:
@ -260,7 +260,7 @@ cellShape create3DCellShape
|
||||
meshFaceLabels[i - 1] = meshFaceLabels[i];
|
||||
}
|
||||
|
||||
meshFaceLabels[meshFaceLabels.size() - 1] = firstLabel;
|
||||
meshFaceLabels.last() = firstLabel;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user