X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8976bfbf1b73e13049d914169c672eabf7b63164..510c97d4c651c63ef9851a7e1d9c328f62b5b00b:/src/instr/instr_paje_values.hpp diff --git a/src/instr/instr_paje_values.hpp b/src/instr/instr_paje_values.hpp index 7e180ba4e2..9014e608b9 100644 --- a/src/instr/instr_paje_values.hpp +++ b/src/instr/instr_paje_values.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2019. 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. */ @@ -19,10 +19,9 @@ class EntityValue { Type* father_; public: - explicit EntityValue(std::string name, std::string color, Type* father); - ~EntityValue() = default; - const char* getCname() { return name_.c_str(); } - long long int getId() { return id_; } + explicit EntityValue(const std::string& name, const std::string& color, Type* father); + const char* get_cname() { return name_.c_str(); } + long long int get_id() { return id_; } void print(); }; }