]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/kernel/resource/Action.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / include / simgrid / kernel / resource / Action.hpp
index 4961cef1d93f470486ede50b790209d097e74d82..c0c0aec5e42e5d62cb79351abb64c692762ae590 100644 (file)
@@ -13,7 +13,7 @@
 #include <boost/heap/pairing_heap.hpp>
 #include <boost/optional.hpp>
 
-const int NO_MAX_DURATION = -1.0;
+static constexpr int NO_MAX_DURATION = -1.0;
 
 namespace simgrid {
 namespace kernel {