fbx: gcc 4.6 compile fixes

This commit is contained in:
acgessler
2012-07-07 20:46:29 +02:00
parent 1a9790ae9a
commit e56b39ecaf
3 changed files with 3 additions and 4 deletions

View File

@@ -222,7 +222,7 @@ private:
const MeshGeometry* const mesh = dynamic_cast<const MeshGeometry*>(geo);
if(mesh) {
std::vector<unsigned int>& indices = ConvertMesh(*mesh, model);
const std::vector<unsigned int>& indices = ConvertMesh(*mesh, model);
std::copy(indices.begin(),indices.end(),std::back_inserter(meshes) );
}
else {