Salome HOME
Addition of new reference coords including degenerated cells.
[modules/med.git] / src / MEDCouplingCorba / MEDCouplingMeshServant.cxx
index c7913d40ab3de8d35d93c5b7e34b0ef2fa76ffca..f2fc2f832c7ea1ada73eb95033b2e1fecb0f1e04 100644 (file)
@@ -31,7 +31,7 @@ MEDCouplingMeshServant::MEDCouplingMeshServant(const MEDCouplingMesh *cppPointer
 
 char *MEDCouplingMeshServant::getName()
 {
-  return CORBA::string_dup(getPointer()->getName());
+  return CORBA::string_dup(getPointer()->getName().c_str());
 }
 
 void MEDCouplingMeshServant::getTinyInfo(SALOME_TYPES::ListOfDouble_out da, SALOME_TYPES::ListOfLong_out la, SALOME_TYPES::ListOfString_out sa)