Replaced depreacated std::auto_ptr with std::unique_ptr

This commit is contained in:
mensinda
2016-04-05 22:56:11 +02:00
parent 18843fe5e1
commit cff5b0d1a0
7 changed files with 11 additions and 11 deletions

View File

@@ -75,7 +75,7 @@ aiMesh* TempMesh::ToMesh()
return NULL;
}
std::auto_ptr<aiMesh> mesh(new aiMesh());
std::unique_ptr<aiMesh> mesh(new aiMesh());
// copy vertices
mesh->mNumVertices = static_cast<unsigned int>(verts.size());