From: Martin Quinson Date: Sun, 29 Nov 2015 23:05:33 +0000 (+0100) Subject: no need to override the super() method to the exact same content X-Git-Tag: v3_13~1528 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/22a7695a4feb3e245bbb487870069a9a95815d8a no need to override the super() method to the exact same content --- diff --git a/src/surf/host_ptask_L07.cpp b/src/surf/host_ptask_L07.cpp index ec97d10308..80427e6b74 100644 --- a/src/surf/host_ptask_L07.cpp +++ b/src/surf/host_ptask_L07.cpp @@ -565,12 +565,6 @@ void LinkL07::updateLatency(double value, double date) } } - -int LinkL07::sharingPolicy() -{ - return lmm_constraint_sharing_policy(getConstraint()); -} - /********** * Action * **********/ diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 86acc7d266..2bdcb97708 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -138,7 +138,6 @@ public: void updateState(tmgr_trace_event_t event_type, double value, double date); double getBandwidth(); double getLatency(); - int sharingPolicy(); void updateBandwidth(double value, double date=surf_get_clock()); void updateLatency(double value, double date=surf_get_clock());