X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..c8f4cd32fa6bfe50360ed8c9f61aa43b33d4e005:/src/instr/instr_paje_values.hpp diff --git a/src/instr/instr_paje_values.hpp b/src/instr/instr_paje_values.hpp index 64a5951dcb..4e96d8af13 100644 --- a/src/instr/instr_paje_values.hpp +++ b/src/instr/instr_paje_values.hpp @@ -19,7 +19,7 @@ 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* get_cname() { return name_.c_str(); } long long int get_id() { return id_; }