]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Replaced boost filesystem by std on windows
authorYoann Audouin <yoann.audouin@edf.fr>
Fri, 4 Nov 2022 15:47:04 +0000 (16:47 +0100)
committerYoann Audouin <yoann.audouin@edf.fr>
Fri, 4 Nov 2022 15:47:04 +0000 (16:47 +0100)
src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx
src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx

index 16311c7212513e35a237a9d8979f350afeefab3b..960b86685597f991bcc6f2e2740c5cbe5e391ca7 100644 (file)
 #include <QString>
 #include <QProcess>
 
+#ifdef WIN32
+#include <filesystem>
+namespace fs = std::filesystem;
+#else
 #include <boost/filesystem.hpp>
 namespace fs = boost::filesystem;
+#endif
 
 /*
   Netgen include files
index 39b809bd8ae6085f686f18f19b6d8214aae9768a..685427fc214fa4bbb4c62299b32824005337ff00 100644 (file)
 #include <SMESHDS_Mesh.hxx>
 
 
+#ifdef WIN32
+#include <filesystem>
+namespace fs = std::filesystem;
+#else
 #include <boost/filesystem.hpp>
 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());