From: Yoann Audouin Date: Fri, 4 Nov 2022 15:47:04 +0000 (+0100) Subject: Replaced boost filesystem by std on windows X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=237f486336e550bc432dfddf0ea659da6f8f0607;p=plugins%2Fnetgenplugin.git Replaced boost filesystem by std on windows --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx index 16311c7..960b866 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx @@ -48,8 +48,13 @@ #include #include +#ifdef WIN32 +#include +namespace fs = std::filesystem; +#else #include namespace fs = boost::filesystem; +#endif /* Netgen include files diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx index 39b809b..685427f 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx @@ -42,8 +42,13 @@ #include +#ifdef WIN32 +#include +namespace fs = std::filesystem; +#else #include namespace fs = boost::filesystem; +#endif /* Netgen include files @@ -106,8 +111,6 @@ NETGENPlugin_NETGEN_3D_SA::~NETGENPlugin_NETGEN_3D_SA() */ void NETGENPlugin_NETGEN_3D_SA::fillHyp(netgen_params aParams) { - if(_gen) - std::cout << "_gen is set" << std::endl; if(aParams.has_netgen_param){ NETGENPlugin_Hypothesis * hypParameters = new NETGENPlugin_Hypothesis(0, GetGen());