From 75132e6469ad49bebb43833c48ccd98adb3965b9 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 9 Jan 2014 14:16:32 +0000 Subject: [PATCH] Merge from V7_3_BR (09/01/2014) --- src/MEDOP/cmp/MEDDataManager_i.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MEDOP/cmp/MEDDataManager_i.cxx b/src/MEDOP/cmp/MEDDataManager_i.cxx index 88e32191a..d76c4e8f8 100644 --- a/src/MEDOP/cmp/MEDDataManager_i.cxx +++ b/src/MEDOP/cmp/MEDDataManager_i.cxx @@ -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 "<fieldname<<" loaded from file "<type; int meshDimRelToMax = 0; -- 2.39.2