X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..92cbaa683aa7824d7ad1b7f1702dec27e1c6eefb:/src/instr/instr_paje_values.cpp diff --git a/src/instr/instr_paje_values.cpp b/src/instr/instr_paje_values.cpp index 77b643d7ec..6a4bd38eec 100644 --- a/src/instr/instr_paje_values.cpp +++ b/src/instr/instr_paje_values.cpp @@ -12,7 +12,7 @@ extern std::ofstream tracing_file; namespace simgrid { namespace instr { -EntityValue::EntityValue(std::string name, std::string color, Type* father) +EntityValue::EntityValue(const std::string& name, const std::string& color, Type* father) : id_(instr_new_paje_id()), name_(name), color_(color), father_(father){}; void EntityValue::print()