X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ecd5f7562caf1d443bf22788fa5f4fac408776ec..ebc355d0c96552d0bc2aa301d90723490337bca3:/src/instr/instr_paje_values.hpp diff --git a/src/instr/instr_paje_values.hpp b/src/instr/instr_paje_values.hpp index 7e180ba4e2..4e96d8af13 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,10 @@ class EntityValue { Type* father_; public: - explicit EntityValue(std::string name, std::string color, Type* father); + explicit EntityValue(const std::string& name, const std::string& color, Type* father); ~EntityValue() = default; - const char* getCname() { return name_.c_str(); } - long long int getId() { return id_; } + const char* get_cname() { return name_.c_str(); } + long long int get_id() { return id_; } void print(); }; }