From: Anthony Geay Date: Wed, 13 Jan 2021 10:58:20 +0000 (+0100) Subject: WIP X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0eb02fa883ba08324b667a4e0bc2831f13c17885;p=modules%2Fsmesh.git WIP --- diff --git a/src/SMESH_I/SMESH_Gen_i_1.cxx b/src/SMESH_I/SMESH_Gen_i_1.cxx index 8f6077ca9..b7e042125 100644 --- a/src/SMESH_I/SMESH_Gen_i_1.cxx +++ b/src/SMESH_I/SMESH_Gen_i_1.cxx @@ -40,6 +40,7 @@ #include #include #include +#include "SALOMEDS_Study_i.hxx" #include #include @@ -215,7 +216,7 @@ SALOMEDS::SObject_ptr SMESH_Gen_i::ObjectToSObject(CORBA::Object_ptr theObject) //======================================================================= SALOMEDS::Study_var SMESH_Gen_i::getStudyServant() { - return SALOMEDS::Study::_duplicate(KERNEL::getStudyServant()); + return SALOMEDS::Study::_duplicate(KERNEL::getStudyServantSA()); } //======================================================================= diff --git a/src/SMESH_SWIG/SMeshHelper.cxx b/src/SMESH_SWIG/SMeshHelper.cxx index 06ab867ec..2c8d4bc5a 100644 --- a/src/SMESH_SWIG/SMeshHelper.cxx +++ b/src/SMESH_SWIG/SMeshHelper.cxx @@ -32,6 +32,7 @@ std::string BuildSMESHInstance() CORBA::Object_var obj = orb->resolve_initial_references("RootPOA"); PortableServer::POA_var poa = PortableServer::POA::_narrow(obj); PortableServer::POAManager_var pman = poa->the_POAManager(); + PortableServer::ObjectId_var conId; // { char *argv[4] = {"Container","FactoryServer","toto",nullptr};