X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0348239c5ae3b76bd1390ab388ac37e27039e91b..60a7164c4306e55f2a6c70ddfcde9ccd542afeaa:/src/instr/instr_paje_values.hpp diff --git a/src/instr/instr_paje_values.hpp b/src/instr/instr_paje_values.hpp index 1fbcc4816f..ee9d3f992f 100644 --- a/src/instr/instr_paje_values.hpp +++ b/src/instr/instr_paje_values.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -13,20 +13,20 @@ namespace simgrid { namespace instr { class EntityValue { - long long int id_; + long long int id_ = new_paje_id(); std::string name_; std::string color_; - Type* father_; + Type* parent_; public: static xbt::signal on_creation; - explicit EntityValue(const std::string& name, const std::string& color, Type* father); + explicit EntityValue(const std::string& name, const std::string& color, Type* parent); long long int get_id() const { return id_; } std::string get_name() const { return name_; } const char* get_cname() const { return name_.c_str(); } std::string get_color() const { return color_; } - Type* get_father() const { return father_; } + Type* get_parent() const { return parent_; } }; } // namespace instr } // namespace simgrid