From 7e257677dd91792d8527d618faa31f4b74aa6ae2 Mon Sep 17 00:00:00 2001 From: DarkGuru Date: Fri, 30 May 2008 19:29:26 +0000 Subject: [PATCH] Some fixes for build with MinGW git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@49 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/ASELoader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/ASELoader.cpp b/code/ASELoader.cpp index ebc0e92e7..b1324666f 100644 --- a/code/ASELoader.cpp +++ b/code/ASELoader.cpp @@ -553,10 +553,10 @@ void ASEImporter::ConvertMeshes(ASE::Mesh& mesh, aiScene* pcScene) p_pcOut->mNumFaces = aiSplit[p].size(); // receive output vertex weights - std::vector>* avOutputBones; + std::vector >* avOutputBones; if (!mesh.mBones.empty()) { - avOutputBones = new std::vector>[mesh.mBones.size()]; + avOutputBones = new std::vector >[mesh.mBones.size()]; } // allocate enough storage for faces @@ -589,7 +589,7 @@ void ASEImporter::ConvertMeshes(ASE::Mesh& mesh, aiScene* pcScene) // this vertex index ... if (iIndex2 < mesh.mBoneVertices.size()) { - for (std::vector>::const_iterator + for (std::vector >::const_iterator blubb = mesh.mBoneVertices[iIndex2].mBoneWeights.begin(); blubb != mesh.mBoneVertices[iIndex2].mBoneWeights.end();++blubb) { @@ -755,7 +755,7 @@ void ASEImporter::ConvertMeshes(ASE::Mesh& mesh, aiScene* pcScene) harrypotter = mesh.mBoneVertices.begin(); harrypotter != mesh.mBoneVertices.end();++harrypotter,++quak) { - for (std::vector>::const_iterator + for (std::vector >::const_iterator ronaldweasley = (*harrypotter).mBoneWeights.begin(); ronaldweasley != (*harrypotter).mBoneWeights.end();++ronaldweasley) {