X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/595e59c568ff5f8510de201bfd800951cdc2adcb..7d002fc71f86ae6e429f611deffc33dceb18b31c:/src/instr/instr_paje_types.cpp?ds=sidebyside diff --git a/src/instr/instr_paje_types.cpp b/src/instr/instr_paje_types.cpp index c9baee5117..af481486fb 100644 --- a/src/instr/instr_paje_types.cpp +++ b/src/instr/instr_paje_types.cpp @@ -130,7 +130,7 @@ type_t PJ_type_container_new (const char *name, type_t father) if(father){ XBT_DEBUG("ContainerType %s(%s), child of %s(%s)", ret->name, ret->id, father->name, father->id); - new DefineContainerEvent(ret); + DefineContainerEvent(ret); } return ret; } @@ -156,13 +156,13 @@ type_t PJ_type_variable_new (const char *name, const char *color, type_t father) type_t ret = nullptr; char white[INSTR_DEFAULT_STR_SIZE] = "1 1 1"; - if (!color){ + if (not color) { ret = newType (name, name, white, TYPE_VARIABLE, father); }else{ ret = newType (name, name, color, TYPE_VARIABLE, father); } XBT_DEBUG("VariableType %s(%s), child of %s(%s)", ret->name, ret->id, father->name, father->id); - new DefineVariableTypeEvent (ret); + DefineVariableTypeEvent (ret); return ret; }