Fix: don't use std::back_inserter to append to a sequence when push_back does the job as well. back_inserter would need to include <iterator> to be truly portable.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@658 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2010-04-09 20:58:41 +00:00
parent b10315e2df
commit 616bd39b6f

View File

@@ -817,7 +817,7 @@ void COBImporter::ReadPolH_Ascii(Scene& out, LineSplitter& splitter, const Chunk
ThrowException("Expected Face line");
}
std::back_inserter(msh.faces) = Face();
msh.faces.push_back(Face());
Face& face = msh.faces.back();
face.indices.resize(strtol10(splitter[2]));