Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
useless morning cleanups
[simgrid.git] / src / instr / instr_paje_values.cpp
index 5f2bcd4..743cfaf 100644 (file)
@@ -12,8 +12,9 @@ namespace simgrid {
 namespace instr {
 
 EntityValue::EntityValue(const std::string& name, const std::string& color, Type* father)
-    : id_(instr_new_paje_id()), name_(name), color_(color), father_(father)
+    : name_(name), color_(color), father_(father)
 {
+  id_ = instr_new_paje_id();
   on_creation(*this);
 }
 } // namespace instr