X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f36bb244f8e4874b90572ecb44ed6e2f3fa9592b..510c97d4c651c63ef9851a7e1d9c328f62b5b00b:/src/instr/instr_paje_values.hpp diff --git a/src/instr/instr_paje_values.hpp b/src/instr/instr_paje_values.hpp index 53626d54ea..9014e608b9 100644 --- a/src/instr/instr_paje_values.hpp +++ b/src/instr/instr_paje_values.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2018. 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,8 +19,7 @@ class EntityValue { Type* father_; public: - explicit EntityValue(std::string name, std::string color, Type* father); - ~EntityValue() = default; + 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();