From 4dc895105ab7686df2e2987d35d46a4e379ea707 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 17 Oct 2022 12:44:49 +0200 Subject: [PATCH] Fix compilation on windows --- src/SMESH_I/SMESH_Gen_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 6c0face11..263454015 100644 --- 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 ); -- 2.39.2