]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Merge from V7_3_BR (09/01/2014)
authorvsr <vsr@opencascade.com>
Thu, 9 Jan 2014 14:16:32 +0000 (14:16 +0000)
committervsr <vsr@opencascade.com>
Thu, 9 Jan 2014 14:16:32 +0000 (14:16 +0000)
src/MEDOP/cmp/MEDDataManager_i.cxx

index 88e32191aee0da7e77d88ce9e273a784bb48cffa..d76c4e8f814c2039ac50eb0514742f7c8322394b 100644 (file)
@@ -583,7 +583,8 @@ MEDCouplingFieldDouble * MEDDataManager_i::getFieldDouble(const MEDOP::FieldHand
   long sourceid = _meshHandlerMap[meshid]->sourceid;
 
   const char * filepath = source_to_file((_datasourceHandlerMap[sourceid])->uri);
-  const char * meshName = myMesh->getName().c_str();
+  std::string smeshname = myMesh->getName();
+  const char * meshName = smeshname.c_str();
   LOG("getFieldDouble: field "<<fieldHandler->fieldname<<" loaded from file "<<filepath);
   TypeOfField type = (TypeOfField)fieldHandler->type;
   int meshDimRelToMax = 0;