Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill methods overriding super to the exact same content
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 25 Dec 2015 21:03:38 +0000 (22:03 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 25 Dec 2015 21:03:38 +0000 (22:03 +0100)
src/surf/host_ptask_L07.cpp
src/surf/host_ptask_L07.hpp

index 75c70e1..216dfcb 100644 (file)
@@ -599,12 +599,6 @@ int L07Action::unref()
   return 0;
 }
 
   return 0;
 }
 
-void L07Action::cancel()
-{
-  setState(SURF_ACTION_FAILED);
-  return;
-}
-
 void L07Action::suspend()
 {
   XBT_IN("(%p))", this);
 void L07Action::suspend()
 {
   XBT_IN("(%p))", this);
@@ -625,11 +619,6 @@ void L07Action::resume()
   XBT_OUT();
 }
 
   XBT_OUT();
 }
 
-bool L07Action::isSuspended()
-{
-  return m_suspended == 1;
-}
-
 void L07Action::setMaxDuration(double duration)
 {                               /* FIXME: should inherit */
   XBT_IN("(%p,%g)", this, duration);
 void L07Action::setMaxDuration(double duration)
 {                               /* FIXME: should inherit */
   XBT_IN("(%p,%g)", this, duration);
index 370dd71..a897ca3 100644 (file)
@@ -149,10 +149,8 @@ public:
   void updateBound();
 
   int unref() override;
   void updateBound();
 
   int unref() override;
-  void cancel() override;
   void suspend() override;
   void resume() override;
   void suspend() override;
   void resume() override;
-  bool isSuspended() override;
   void setMaxDuration(double duration) override;
   void setPriority(double priority) override;
   double getRemains() override;
   void setMaxDuration(double duration) override;
   void setPriority(double priority) override;
   double getRemains() override;