prefer prefix ++/-- operators for non-primitive types

This commit is contained in:
escherstair
2019-08-29 10:54:21 +02:00
committed by GitHub
parent d7b3b344f6
commit 3ef0860f30

View File

@@ -128,7 +128,7 @@ void ProcessPolygonBoundaries(TempMesh& result, const TempMesh& inmesh, size_t m
outer_polygon_it = begin + master_bounds;
}
else {
for(iit = begin; iit != end; iit++) {
for(iit = begin; iit != end; ++iit) {
// find the polygon with the largest area and take it as the outer bound.
IfcVector3& n = normals[std::distance(begin,iit)];
const IfcFloat area = n.SquareLength();