X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e3397fde30788e5ba847cc9e1ad2d97425275aec..1366b293e8c700b12567e45076cf0e6b7a25478f:/src/instr/instr_paje_values.cpp diff --git a/src/instr/instr_paje_values.cpp b/src/instr/instr_paje_values.cpp index 2c4f8bd9db..9e60ab1db3 100644 --- a/src/instr/instr_paje_values.cpp +++ b/src/instr/instr_paje_values.cpp @@ -45,11 +45,11 @@ s_val::s_val(const char *name, const char *color, type_t father){ LogEntityValue(this->ret); }; -val_t PJ_value_get_or_new (const char *name, const char *color, type_t father) -{ +val_t paje_value :: PJ_value_get_or_new (const char *name, const char *color, type_t father) +{ paje_value pj_value; val_t ret = 0; try { - ret = PJ_value_get(name, father); + ret = pj_value.PJ_value_get(name, father); } catch(xbt_ex& e) { s_val rett(name, color, father); @@ -58,7 +58,7 @@ val_t PJ_value_get_or_new (const char *name, const char *color, type_t father) return ret; } -val_t PJ_value_get (const char *name, type_t father) +val_t paje_value::PJ_value_get (const char *name, type_t father) { if (name == nullptr || father == nullptr){ THROWF (tracing_error, 0, "can't get a value with a nullptr name (or a nullptr father)");