X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/63c929772caa353d0bf4370b6e7bd29ad6d25899..5e4e3ed6a92f699a364dc069b4367e6c72623f18:/src/surf/sg_platf.cpp?ds=inline diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index a6fcca8d06..3f290e77be 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -506,8 +506,8 @@ static void surf_config_models_setup() std::string storage_model_name = simgrid::config::get_value("storage/model"); /* The compound host model is needed when using non-default net/cpu models */ - if ((not xbt_cfg_is_default_value("network/model") || not xbt_cfg_is_default_value("cpu/model")) && - xbt_cfg_is_default_value("host/model")) { + if ((not simgrid::config::is_default("network/model") || not simgrid::config::is_default("cpu/model")) && + simgrid::config::is_default("host/model")) { host_model_name = "compound"; simgrid::config::set_value("host/model", host_model_name); }