X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5026d98d0656e9d0f9afb2aeecf09c314ea7a5f6..6270ece7967b322385bbff766ee5f882ba1ef2a2:/src/surf/host_ptask_L07.cpp diff --git a/src/surf/host_ptask_L07.cpp b/src/surf/host_ptask_L07.cpp index 717e89a12d..ec97d10308 100644 --- a/src/surf/host_ptask_L07.cpp +++ b/src/surf/host_ptask_L07.cpp @@ -566,9 +566,9 @@ void LinkL07::updateLatency(double value, double date) } -bool LinkL07::isShared() +int LinkL07::sharingPolicy() { - return lmm_constraint_is_shared(getConstraint()); + return lmm_constraint_sharing_policy(getConstraint()); } /**********