From: Martin Quinson Date: Wed, 6 Jan 2016 21:38:58 +0000 (+0100) Subject: kill methods overriding super to the same content X-Git-Tag: v3_13~1325 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6acd0053f6cf085fbba1ce9f026e415a43ab5b32 kill methods overriding super to the same content --- diff --git a/src/surf/network_constant.cpp b/src/surf/network_constant.cpp index 0d90ff7148..326f31b7d5 100644 --- a/src/surf/network_constant.cpp +++ b/src/surf/network_constant.cpp @@ -125,21 +125,5 @@ void NetworkConstantAction::setCategory(const char * /*category*/) //ignore completely the categories in constant model, they are not traced } -void NetworkConstantAction::suspend() -{ - m_suspended = true; -} - -void NetworkConstantAction::resume() -{ - if (m_suspended) - m_suspended = false; -} - -bool NetworkConstantAction::isSuspended() -{ - return m_suspended; -} - } } diff --git a/src/surf/network_constant.hpp b/src/surf/network_constant.hpp index 8f3e1b9427..742ed64483 100644 --- a/src/surf/network_constant.hpp +++ b/src/surf/network_constant.hpp @@ -66,11 +66,7 @@ public: int unref(); void cancel(); void setCategory(const char *category); - void suspend(); - void resume(); - bool isSuspended(); double m_latInit; - int m_suspended; }; }