Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
code simplification around Host::onDestruction
[simgrid.git] / src / surf / cpu_interface.cpp
index 772e86a..ea7f63e 100644 (file)
@@ -189,14 +189,8 @@ Cpu::Cpu(Model *model, const char *name,
 : Cpu(model, name, core, speedPeak, speedScale, SURF_RESOURCE_ON)
 {}
 
-void Cpu::onDie()
-{
-  Resource::onDie();
-}
-
 Cpu::~Cpu()
 {
-  this->die();
   if (p_constraintCoreId){
     for (int i = 0; i < m_core; i++) {
          xbt_free(p_constraintCoreId[i]);