From 22a7695a4feb3e245bbb487870069a9a95815d8a Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 30 Nov 2015 00:05:33 +0100 Subject: [PATCH] no need to override the super() method to the exact same content --- src/surf/host_ptask_L07.cpp | 6 ------ src/surf/host_ptask_L07.hpp | 1 - 2 files changed, 7 deletions(-) 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()); -- 2.20.1