X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/611d822b02f836d7abe031cced6adc4281ef4356..6d454127a5b4d271888c494413f434e521ea8ab5:/src/instr/instr_paje_values.hpp?ds=sidebyside diff --git a/src/instr/instr_paje_values.hpp b/src/instr/instr_paje_values.hpp index 23a502c393..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,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(); }; }