From 616bd39b6fea170ba6e6069061a3ae491a40f96d Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Fri, 9 Apr 2010 20:58:41 +0000 Subject: [PATCH] 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 to be truly portable. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@658 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/COBLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/COBLoader.cpp b/code/COBLoader.cpp index 611406668..34116d7e0 100644 --- a/code/COBLoader.cpp +++ b/code/COBLoader.cpp @@ -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]));