if (props != nullptr)
for (auto const& kv : *props)
- res->setProperty(kv.first, kv.second);
+ res->set_property(kv.first, kv.second);
- simgrid::s4u::Host::onCreation(*res); // notify the signal
+ simgrid::s4u::Host::on_creation(*res); // notify the signal
return res;
}