From: Yoann Audouin Date: Wed, 2 Nov 2022 09:51:17 +0000 (+0100) Subject: Revert "Corrections for compilation on other OS" X-Git-Tag: V9_10_0b1~5^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f6a8df1d49b9a429efd8c7042fe4ee53ec7680bc;hp=--cc;p=modules%2Fsmesh.git Revert "Corrections for compilation on other OS" This reverts commit df57f987dd5df72834dd8d1b8647a275123f7465. --- f6a8df1d49b9a429efd8c7042fe4ee53ec7680bc diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 0d59428af..2a7e23af9 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -28,7 +28,6 @@ //#define CHRONODEF -#include #include "SMESH_Gen.hxx" #include "SMESH_DriverMesh.hxx" @@ -59,6 +58,7 @@ 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 25892ca9d..444c7b791 100644 --- a/src/SMESH_I/SMESH_Mesh_i.hxx +++ b/src/SMESH_I/SMESH_Mesh_i.hxx @@ -674,6 +674,7 @@ private: const bool theIsDump); void SetNbThreads(int nbThreads); + void SetMesherNbThreads(int nbThreads); /*! * \brief Finds concurrent sub-meshes