From: Martin Quinson Date: Fri, 25 Dec 2015 21:03:38 +0000 (+0100) Subject: kill methods overriding super to the exact same content X-Git-Tag: v3_13~1387 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a08206428a0c1bd0ea57423c6da77db1657894fc kill methods overriding super to the exact same content --- diff --git a/src/surf/host_ptask_L07.cpp b/src/surf/host_ptask_L07.cpp index 75c70e1592..216dfcbb11 100644 --- a/src/surf/host_ptask_L07.cpp +++ b/src/surf/host_ptask_L07.cpp @@ -599,12 +599,6 @@ int L07Action::unref() return 0; } -void L07Action::cancel() -{ - setState(SURF_ACTION_FAILED); - return; -} - void L07Action::suspend() { XBT_IN("(%p))", this); @@ -625,11 +619,6 @@ void L07Action::resume() XBT_OUT(); } -bool L07Action::isSuspended() -{ - return m_suspended == 1; -} - void L07Action::setMaxDuration(double duration) { /* FIXME: should inherit */ XBT_IN("(%p,%g)", this, duration); diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 370dd71328..a897ca3644 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -149,10 +149,8 @@ public: void updateBound(); int unref() override; - void cancel() override; void suspend() override; void resume() override; - bool isSuspended() override; void setMaxDuration(double duration) override; void setPriority(double priority) override; double getRemains() override;