Replaced depreacated std::auto_ptr with std::unique_ptr
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user