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

*** empty log message ***

parent 26ff0c6f
No related branches found
No related tags found
No related merge requests found
// $Id: GModel.cpp,v 1.87 2008-05-04 08:31:13 geuzaine Exp $ // $Id: GModel.cpp,v 1.88 2008-05-04 09:01:19 geuzaine Exp $
// //
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -60,13 +60,13 @@ GModel::~GModel() ...@@ -60,13 +60,13 @@ GModel::~GModel()
std::vector<GModel*>::iterator it = std::find(list.begin(), list.end(), this); std::vector<GModel*>::iterator it = std::find(list.begin(), list.end(), this);
if(it != list.end()) list.erase(it); if(it != list.end()) list.erase(it);
destroy();
#if !defined(HAVE_GMSH_EMBEDDED) #if !defined(HAVE_GMSH_EMBEDDED)
_deleteGEOInternals(); _deleteGEOInternals();
_deleteOCCInternals(); _deleteOCCInternals();
delete _fields; delete _fields;
#endif #endif
destroy();
} }
GModel *GModel::current(int index) GModel *GModel::current(int index)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment