Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
docs: update copyright and cut links to broken tables
[simgrid.git] / src / surf / sg_platf.cpp
index 55de70536ed7a2c93dc25e4db1da4c54e31f70c5..e3e5253eab84de3bcbda380c060c1b70ef2577fd 100644 (file)
@@ -444,7 +444,7 @@ void sg_platf_new_actor(simgrid::kernel::routing::ActorCreationArgs* actor)
   simgrid::kernel::actor::ProcessArg* arg =
       new simgrid::kernel::actor::ProcessArg(actor_name, code, nullptr, host, kill_time, properties, auto_restart);
 
-  host->pimpl_->actors_at_boot_.insert({actor_name, arg});
+  host->pimpl_->actors_at_boot_.emplace_back(arg);
 
   if (start_time > SIMIX_get_clock()) {