X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6968624c2974dde9c5d8cd35d2a043c80b4c3db4..00db5795b9e8a06e2aac8d8ec9ea2784ab63542f:/src/surf/cpu_interface.cpp?ds=sidebyside diff --git a/src/surf/cpu_interface.cpp b/src/surf/cpu_interface.cpp index 2b7c2e321e..a8d80c7106 100644 --- a/src/surf/cpu_interface.cpp +++ b/src/surf/cpu_interface.cpp @@ -132,7 +132,8 @@ void CpuModel::updateActionsStateFull(double now, double delta) /************ * Resource * ************/ -Cpu::Cpu(){ +Cpu::Cpu() +{ } @@ -143,8 +144,6 @@ Cpu::Cpu(Model *model, const char *name, xbt_dict_t props, , m_core(core) , m_speedPeak(speedPeak) , m_speedScale(speedScale) - , p_constraintCore(NULL) - , p_constraintCoreId(NULL) { } @@ -161,8 +160,6 @@ Cpu::Cpu(Model *model, const char *name, xbt_dict_t props, if (core > 1) xbt_assert(model == surf_cpu_model_pm); - p_constraintCore = NULL; - p_constraintCoreId = NULL; if (model->getUpdateMechanism() != UM_UNDEFINED) { p_constraintCore = xbt_new(lmm_constraint_t, core); p_constraintCoreId = xbt_new(void*, core);