Salome HOME
Revert "Corrections for compilation on other OS"
authorYoann Audouin <yoann.audouin@edf.fr>
Wed, 2 Nov 2022 09:51:17 +0000 (10:51 +0100)
committerYoann Audouin <yoann.audouin@edf.fr>
Wed, 2 Nov 2022 09:51:17 +0000 (10:51 +0100)
This reverts commit df57f987dd5df72834dd8d1b8647a275123f7465.

src/SMESH/SMESH_Gen.cxx
src/SMESH_I/SMESH_Mesh_i.hxx

index 0d59428af2f569df698a11901a4806b462c633fd..2a7e23af9cc1f9ab51a698f5bcae72fec78a0582 100644 (file)
@@ -28,7 +28,6 @@
 
 //#define CHRONODEF
 
-#include <boost/asio.hpp>
 #include "SMESH_Gen.hxx"
 
 #include "SMESH_DriverMesh.hxx"
@@ -59,6 +58,7 @@
 
 using namespace std;
 #include <boost/filesystem.hpp>
+#include <boost/asio.hpp>
 namespace fs = boost::filesystem;
 
 // Environment variable separator
@@ -240,7 +240,7 @@ const std::function<void(SMESH_subMesh*,
                          bool,
                          TopTools_IndexedMapOfShape *,
                          TSetOfInt*)>
-     compute_function([] (SMESH_subMesh* sm,
+     compute_function([&] (SMESH_subMesh* sm,
                           SMESH_subMesh::compute_event event,
                           SMESH_subMesh *shapeSM,
                           bool aShapeOnly,
index 25892ca9d9fcf21fc72ca0e3b2bf496eb54e5280..444c7b7910d12d345c6c54966da06022e0d7284b 100644 (file)
@@ -674,6 +674,7 @@ private:
                         const bool                  theIsDump);
 
   void SetNbThreads(int nbThreads);
+  void SetMesherNbThreads(int nbThreads);
 
   /*!
    * \brief Finds concurrent sub-meshes