Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't make a pure function an object member
[simgrid.git] / src / surf / surf_interface.cpp
index 619535f..798c991 100644 (file)
@@ -476,9 +476,7 @@ double Model::next_occuring_event_full(double /*now*/) {
   return 0.0;
 }
 
-double Model::shareResourcesMaxMin(ActionList *runningActions,
-                          lmm_system_t sys,
-                          void (*solve) (lmm_system_t))
+double shareResourcesMaxMin(ActionList *runningActions, lmm_system_t sys, void (*solve) (lmm_system_t))
 {
   solve(sys);