Replaced boost filesystem by std on windows

This commit is contained in:
Yoann Audouin 2022-11-04 16:47:04 +01:00
parent ccde3874e2
commit 237f486336
2 changed files with 10 additions and 2 deletions

View File

@ -48,8 +48,13 @@
#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

View File

@ -42,8 +42,13 @@
#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());