From ac7d7d20c94f04b78241db07f2ffcf13c9e4650f Mon Sep 17 00:00:00 2001 From: ulfjorensen Date: Tue, 4 Dec 2012 07:42:15 +0000 Subject: [PATCH] - fixed compilation error on GCC in IFC loader. Thanks to larsp for the report! git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1343 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/IFCUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {