X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/58de6e0115d311e93b28c712e9e74b89fd81d40a..736f038a333b21482b9e73ed2860a7f096e29ac8:/src/surf/cpu_interface.cpp diff --git a/src/surf/cpu_interface.cpp b/src/surf/cpu_interface.cpp index 772e86ae3f..ea7f63e37a 100644 --- a/src/surf/cpu_interface.cpp +++ b/src/surf/cpu_interface.cpp @@ -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]);