From 58ec3b60f4bb6c0df113ae01d8b705a3b329483c Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 9 Jan 2008 12:14:36 +0000 Subject: [PATCH] make destructor virtual (for Pascale Noyret, Salome integration) --- Geo/GModel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Geo/GModel.h b/Geo/GModel.h index bf39532bf9..a698a8a34c 100644 --- a/Geo/GModel.h +++ b/Geo/GModel.h @@ -33,6 +33,8 @@ // internal CAD representations class GEO_Internals; class OCC_Internals; +class MVertex; +class MElement; // A geometric model. The model is a "not yet" non-manifold B-Rep. class GModel @@ -60,7 +62,7 @@ class GModel public: GModel(std::string name=""); - ~GModel(); + virtual ~GModel(); // the static list of all loaded models static std::vector<GModel*> list; -- GitLab