Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d5b0f
)
Fix compilation on windows
V9_10_0a1
V9_10_0a2
author
Anthony Geay
<anthony.geay@edf.fr>
Mon, 17 Oct 2022 10:44:49 +0000
(12:44 +0200)
committer
Anthony Geay
<anthony.geay@edf.fr>
Mon, 17 Oct 2022 10:44:49 +0000
(12:44 +0200)
src/SMESH_I/SMESH_Gen_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i.cxx
b/src/SMESH_I/SMESH_Gen_i.cxx
index 6c0face11b2c79c6d883426c12db6c4f10eea34a..2634540158055a32282a0217e706235199bd9e4a 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i.cxx
@@
-2907,7
+2907,7
@@
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateDualMesh(SMESH::SMESH_IDSource_ptr mesh
SetName( meshSO, meshName, meshName );
SetPixMap( meshSO, "ICON_SMESH_TREE_MESH_IMPORTED");
}
- int ret = newMesh_i->ImportMEDFile(dual_mesh_file.c_str(), meshName);
+ int ret = newMesh_i->ImportMEDFile(dual_mesh_file.
string().
c_str(), meshName);
if(ret)
THROW_SALOME_CORBA_EXCEPTION( "Issue when importing mesh", SALOME::INTERNAL_ERROR );