]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Corrections for compilation on other OS
authorYoann Audouin <yoann.audouin@edf.fr>
Wed, 26 Oct 2022 08:33:28 +0000 (10:33 +0200)
committerYoann Audouin <yoann.audouin@edf.fr>
Wed, 26 Oct 2022 08:33:28 +0000 (10:33 +0200)
src/SMESH/SMESH_Gen.cxx
src/SMESH_I/SMESH_Mesh_i.hxx

index 2a7e23af9cc1f9ab51a698f5bcae72fec78a0582..0d59428af2f569df698a11901a4806b462c633fd 100644 (file)
@@ -28,6 +28,7 @@
 
 //#define CHRONODEF
 
+#include <boost/asio.hpp>
 #include "SMESH_Gen.hxx"
 
 #include "SMESH_DriverMesh.hxx"
@@ -58,7 +59,6 @@
 
 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 444c7b7910d12d345c6c54966da06022e0d7284b..25892ca9d9fcf21fc72ca0e3b2bf496eb54e5280 100644 (file)
@@ -674,7 +674,6 @@ private:
                         const bool                  theIsDump);
 
   void SetNbThreads(int nbThreads);
-  void SetMesherNbThreads(int nbThreads);
 
   /*!
    * \brief Finds concurrent sub-meshes