diff --git a/code/IFCUtil.cpp b/code/IFCUtil.cpp index 96877f934..17149906f 100644 --- a/code/IFCUtil.cpp +++ b/code/IFCUtil.cpp @@ -142,8 +142,8 @@ void TempMesh::RemoveDegenerates() bool drop = false; size_t inor = 0; - std::vector::const_iterator vit = verts.begin(); - for (std::vector::const_iterator it = vertcnt.begin(); it != vertcnt.end(); ++inor) { + std::vector::iterator vit = verts.begin(); + for (std::vector::iterator it = vertcnt.begin(); it != vertcnt.end(); ++inor) { const unsigned int pcount = *it; if (normals[inor].SquareLength() < 1e-5f) {