STYLE: use X.last() method instead of X[X.size()-1]

This commit is contained in:
Mark Olesen
2010-12-07 09:56:52 +01:00
parent f367ee2ece
commit a2b73a1c6d
12 changed files with 15 additions and 17 deletions

View File

@ -260,7 +260,7 @@ cellShape create3DCellShape
meshFaceLabels[i - 1] = meshFaceLabels[i];
}
meshFaceLabels[meshFaceLabels.size() - 1] = firstLabel;
meshFaceLabels.last() = firstLabel;
}
}