From 237f486336e550bc432dfddf0ea659da6f8f0607 Mon Sep 17 00:00:00 2001 From: Yoann Audouin Date: Fri, 4 Nov 2022 16:47:04 +0100 Subject: [PATCH] Replaced boost filesystem by std on windows --- src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx | 5 +++++ src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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()); -- 2.39.2