Fix compilation on windows

This commit is contained in:
Anthony Geay 2022-10-17 12:44:49 +02:00
parent 33d5b0fd2b
commit 4dc895105a

View File

@ -2907,7 +2907,7 @@ SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateDualMesh(SMESH::SMESH_IDSource_ptr mesh
SetName( meshSO, meshName, meshName ); SetName( meshSO, meshName, meshName );
SetPixMap( meshSO, "ICON_SMESH_TREE_MESH_IMPORTED"); 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) if(ret)
THROW_SALOME_CORBA_EXCEPTION( "Issue when importing mesh", SALOME::INTERNAL_ERROR ); THROW_SALOME_CORBA_EXCEPTION( "Issue when importing mesh", SALOME::INTERNAL_ERROR );