Salome HOME
Fix compilation errors after merging KERNEL module from V4_1_0_maintainance branch
authorabd <abd@opencascade.com>
Fri, 10 Oct 2008 10:20:44 +0000 (10:20 +0000)
committerabd <abd@opencascade.com>
Fri, 10 Oct 2008 10:20:44 +0000 (10:20 +0000)
src/SMESHClient/SMESH_Client.cxx

index add923749f7b872b2a712cc7cbfd16b0eccc1aa2..384debc3dea8c99780bd767752c65ef7aaa6cc1b 100644 (file)
@@ -35,7 +35,7 @@
 #include CORBA_SERVER_HEADER(SALOME_Component)
 #include CORBA_SERVER_HEADER(SALOME_Exception)
 
-#include "OpUtil.hxx"
+#include "Basics_Utils.hxx"
 #include "utilities.h"
 
 #ifdef WNT
@@ -591,7 +591,7 @@ SMESH_Client::GetSMESHGen(CORBA::ORB_ptr theORB,
     Engines::Component_var aComponent = aLifeCycleCORBA.FindOrLoad_Component("FactoryServer","SMESH");
     aMeshGen = SMESH::SMESH_Gen::_narrow(aComponent);
     
-    std::string aClientHostName = GetHostname();
+    std::string aClientHostName = Kernel_Utils::GetHostname();
     Engines::Container_var aServerContainer = aMeshGen->GetContainerRef();
     CORBA::String_var aServerHostName = aServerContainer->getHostName();
     CORBA::Long aServerPID = aServerContainer->getPID();