X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3fc87311ad2950a160412fa6961abf8f0bdc3165..c6374915fc9c74a89f67428ba910e204d2daa516:/include/simgrid/s4u/NetZone.hpp diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index e4d56e0f77..1771886264 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -54,8 +54,8 @@ public: std::vector get_children(); /** Retrieve the property value (or nullptr if not set) */ - const char* get_property(const char* key); - void set_property(const char* key, const char* value); + const char* get_property(std::string key); + void set_property(std::string key, 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 */