X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08a29a4221dc5cec95b766cd9b25c95dcc361df9..dc9b8feaddd53842f6204f4f24409b2382393fa9:/include/simgrid/s4u/NetZone.hpp diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index db5854b8e3..5329cf4bf9 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -55,7 +55,7 @@ public: /** Retrieve the property value (or nullptr if not set) */ const char* get_property(const std::string& key); - void set_property(const std::string& key, std::string value); + void set_property(const std::string& key, const std::string& value); /* Add content to the netzone, at parsing time. It should be sealed afterward. */ int add_component(kernel::routing::NetPoint* elm); /* A host, a router or a netzone, whatever */