X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/88ed441e729f7c69e091ebcfb4404fead8676f66..2c79b7c701b5342239e01b70a1ac613ef8e37f6b:/src/surf/sg_platf.cpp diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index f192754677..55de70536e 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -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_->boot_processes_.push_back(arg); + host->pimpl_->actors_at_boot_.insert({actor_name, arg}); if (start_time > SIMIX_get_clock()) { @@ -534,7 +534,7 @@ static void surf_config_models_setup() } /** - * \brief Add a Zone to the platform + * @brief Add a Zone to the platform * * Add a new autonomous system to the platform. Any elements (such as host, router or sub-Zone) added after this call * and before the corresponding call to sg_platf_new_Zone_seal() will be added to this Zone. @@ -620,7 +620,7 @@ simgrid::kernel::routing::NetZoneImpl* sg_platf_new_Zone_begin(simgrid::kernel:: } /** - * \brief Specify that the description of the current AS is finished + * @brief Specify that the description of the current AS is finished * * Once you've declared all the content of your AS, you have to seal * it with this call. Your AS is not usable until you call this function.