Replaced boost filesystem by std on windows
This commit is contained in:
parent
ccde3874e2
commit
237f486336
@ -48,8 +48,13 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#include <filesystem>
|
||||||
|
namespace fs = std::filesystem;
|
||||||
|
#else
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Netgen include files
|
Netgen include files
|
||||||
|
@ -42,8 +42,13 @@
|
|||||||
#include <SMESHDS_Mesh.hxx>
|
#include <SMESHDS_Mesh.hxx>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#include <filesystem>
|
||||||
|
namespace fs = std::filesystem;
|
||||||
|
#else
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Netgen include files
|
Netgen include files
|
||||||
@ -106,8 +111,6 @@ NETGENPlugin_NETGEN_3D_SA::~NETGENPlugin_NETGEN_3D_SA()
|
|||||||
*/
|
*/
|
||||||
void NETGENPlugin_NETGEN_3D_SA::fillHyp(netgen_params aParams)
|
void NETGENPlugin_NETGEN_3D_SA::fillHyp(netgen_params aParams)
|
||||||
{
|
{
|
||||||
if(_gen)
|
|
||||||
std::cout << "_gen is set" << std::endl;
|
|
||||||
if(aParams.has_netgen_param){
|
if(aParams.has_netgen_param){
|
||||||
NETGENPlugin_Hypothesis * hypParameters = new NETGENPlugin_Hypothesis(0, GetGen());
|
NETGENPlugin_Hypothesis * hypParameters = new NETGENPlugin_Hypothesis(0, GetGen());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user