X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/164354d45e8fc361488fcdff50aee3c655c0d220..5901a7d814ef3c475058d0cc958bebc21c81238c:/src/surf/sg_platf.cpp diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index 3b0eed0673..cff7f9e696 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -126,7 +126,7 @@ void sg_platf_new_link(simgrid::kernel::routing::LinkCreationArgs* link) if (link->properties) { for (auto const& elm : *link->properties) - l->setProperty(elm.first, elm.second); + l->set_property(elm.first, elm.second); } if (link->latency_trace) @@ -363,7 +363,7 @@ void sg_platf_new_storage(simgrid::kernel::routing::StorageCreationArgs* storage if (storage->properties) { for (auto const& elm : *storage->properties) - s->setProperty(elm.first, elm.second); + s->set_property(elm.first, elm.second); delete storage->properties; } }