]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/lmm/bmf.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: make it clear that we only have the info about the ready-to-run actors in a given...
[simgrid.git] / src / kernel / lmm / bmf.hpp
index ce0458a366837747ad76cca4ff7f2b1ff00f2f6f..dfc7ff98e21f4b15fc5b191ca7cd9b92ae4a2363 100644 (file)
@@ -9,6 +9,7 @@
 #include "src/kernel/lmm/System.hpp"
 
 #ifdef __clang__
+// Ignore deprecation warnings with Eigen < 4.0 (see https://gitlab.com/libeigen/eigen/-/issues/1850)
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 #endif
@@ -19,9 +20,7 @@
 
 #include <unordered_set>
 
-namespace simgrid {
-namespace kernel {
-namespace lmm {
+namespace simgrid::kernel::lmm {
 
 /** @brief Generate all combinations of valid allocation */
 class XBT_PUBLIC AllocationGenerator {
@@ -278,8 +277,6 @@ private:
   std::unordered_map<const Constraint*, int> cnst2idx_; //!< Conversely map constraint to index
 };
 
-} // namespace lmm
-} // namespace kernel
-} // namespace simgrid
+} // namespace simgrid::kernel::lmm
 
 #endif