From f4b3284931c4d378a72a5739acdd231d884e37e2 Mon Sep 17 00:00:00 2001 From: akk Date: Thu, 6 Oct 2005 14:14:59 +0000 Subject: [PATCH] Correction due to new inheritance of some interfaces from MED.idl --- src/SMESH_I/SMESH_MEDMesh_i.hxx | 3 ++- src/SMESH_I/SMESH_MEDSupport_i.hxx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/SMESH_I/SMESH_MEDMesh_i.hxx b/src/SMESH_I/SMESH_MEDMesh_i.hxx index 3e8fe7a35..e76c5cd36 100644 --- a/src/SMESH_I/SMESH_MEDMesh_i.hxx +++ b/src/SMESH_I/SMESH_MEDMesh_i.hxx @@ -37,6 +37,7 @@ #include "SMDS_MeshElement.hxx" #include "SMDS_MeshNode.hxx" +#include "SALOME_GenericObj_i.hh" #define MED_NBR_GEOMETRIE_MAILLE 15 #define MED_NBR_TYPE 5 @@ -44,7 +45,7 @@ class SMESH_Mesh_i; class SMESH_MEDMesh_i: - public POA_SALOME_MED::MESH, public PortableServer::RefCountServantBase + public virtual POA_SALOME_MED::MESH, public virtual SALOME::GenericObj_i { public: private: protected: // C++ object containing values diff --git a/src/SMESH_I/SMESH_MEDSupport_i.hxx b/src/SMESH_I/SMESH_MEDSupport_i.hxx index 5be60dda4..c888661b6 100644 --- a/src/SMESH_I/SMESH_MEDSupport_i.hxx +++ b/src/SMESH_I/SMESH_MEDSupport_i.hxx @@ -37,11 +37,11 @@ #include "SMDS_MeshNode.hxx" #include "SMESH_MEDSupport_i.hxx" - +#include "SALOME_GenericObj_i.hh" class SMESH_subMesh_i; class SMESH_MEDSupport_i: - public POA_SALOME_MED::SUPPORT, public PortableServer::RefCountServantBase + public virtual POA_SALOME_MED::SUPPORT, public virtual SALOME::GenericObj_i { public: -- 2.39.2