From df57f987dd5df72834dd8d1b8647a275123f7465 Mon Sep 17 00:00:00 2001 From: Yoann Audouin Date: Wed, 26 Oct 2022 10:33:28 +0200 Subject: [PATCH] Corrections for compilation on other OS --- src/SMESH/SMESH_Gen.cxx | 4 ++-- src/SMESH_I/SMESH_Mesh_i.hxx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 2a7e23af9..0d59428af 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -28,6 +28,7 @@ //#define CHRONODEF +#include #include "SMESH_Gen.hxx" #include "SMESH_DriverMesh.hxx" @@ -58,7 +59,6 @@ using namespace std; #include -#include namespace fs = boost::filesystem; // Environment variable separator @@ -240,7 +240,7 @@ const std::function - compute_function([&] (SMESH_subMesh* sm, + compute_function([] (SMESH_subMesh* sm, SMESH_subMesh::compute_event event, SMESH_subMesh *shapeSM, bool aShapeOnly, diff --git a/src/SMESH_I/SMESH_Mesh_i.hxx b/src/SMESH_I/SMESH_Mesh_i.hxx index 444c7b791..25892ca9d 100644 --- a/src/SMESH_I/SMESH_Mesh_i.hxx +++ b/src/SMESH_I/SMESH_Mesh_i.hxx @@ -674,7 +674,6 @@ private: const bool theIsDump); void SetNbThreads(int nbThreads); - void SetMesherNbThreads(int nbThreads); /*! * \brief Finds concurrent sub-meshes -- 2.39.2