}
/** Retrieve the property value (or nullptr if not set) */
-const char* NetZone::get_property(const char* key)
+const char* NetZone::get_property(std::string key)
{
return properties_.at(key).c_str();
}
-void NetZone::set_property(const char* key, const char* value)
+void NetZone::set_property(std::string key, std::string value)
{
simgrid::simix::simcall([this, key, value] { properties_[key] = value; });
}