X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/60b3f1d683ffdc0ec72d8ec1c3bbc57e53b44596..92931e4254055b5e99a1d45425a58741862ecf0a:/src/surf/HostImpl.cpp diff --git a/src/surf/HostImpl.cpp b/src/surf/HostImpl.cpp index 09d521b66f..d38f868815 100644 --- a/src/surf/HostImpl.cpp +++ b/src/surf/HostImpl.cpp @@ -88,7 +88,7 @@ HostImpl::~HostImpl() msg += "\n\t" + std::string(process.get_name()); SIMIX_display_process_status(); - THROWF(arg_error, 0, "%s", msg.c_str()); + xbt_die("%s", msg.c_str()); } for (auto const& arg : actors_at_boot_) delete arg; @@ -152,7 +152,7 @@ std::vector HostImpl::get_attached_storages() { std::vector storages; for (auto const& s : storage_) - if (s.second->getHost() == piface_->get_cname()) + if (s.second->get_host() == piface_->get_cname()) storages.push_back(s.second->piface_.get_cname()); return storages; }