Skip to content
Snippets Groups Projects
Commit 84c37cf7 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix msvc compile

parent af5760b7
Branches
Tags
No related merge requests found
...@@ -101,7 +101,6 @@ void MakeGraphDIM(const EntIter begin, const EntIter end, ...@@ -101,7 +101,6 @@ void MakeGraphDIM(const EntIter begin, const EntIter end,
******************************************************************************/ ******************************************************************************/
int PartitionMeshFace( std::list<GFace*> &cFaces, meshPartitionOptions &options) int PartitionMeshFace( std::list<GFace*> &cFaces, meshPartitionOptions &options)
{ {
GModel *tmp_model = new GModel(); GModel *tmp_model = new GModel();
for(std::list<GFace*>::iterator it = cFaces.begin(); it != cFaces.end(); it++) for(std::list<GFace*>::iterator it = cFaces.begin(); it != cFaces.end(); it++)
tmp_model->add(*it); tmp_model->add(*it);
...@@ -111,7 +110,7 @@ int PartitionMeshFace( std::list<GFace*> &cFaces, meshPartitionOptions &options) ...@@ -111,7 +110,7 @@ int PartitionMeshFace( std::list<GFace*> &cFaces, meshPartitionOptions &options)
for(std::list<GFace*>::iterator it = cFaces.begin(); it != cFaces.end(); it++) for(std::list<GFace*>::iterator it = cFaces.begin(); it != cFaces.end(); it++)
tmp_model->remove(*it); tmp_model->remove(*it);
delete tmp_model; delete tmp_model;
return 1;
} }
int PartitionMesh(GModel *const model, meshPartitionOptions &options) int PartitionMesh(GModel *const model, meshPartitionOptions &options)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment