From: Frederic Suter Date: Tue, 25 Jul 2017 15:34:36 +0000 (+0200) Subject: fix MC which uses simgrid::xbt::string X-Git-Tag: v3_17~319 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8936dac836a8288d60c7a8bbccfbda7c2b6233d2?hp=0739b996ebdbecc89e8f8e394fa91e3978811cf0 fix MC which uses simgrid::xbt::string --- diff --git a/src/surf/network_ib.cpp b/src/surf/network_ib.cpp index eea85e82a4..6018e1d2dc 100644 --- a/src/surf/network_ib.cpp +++ b/src/surf/network_ib.cpp @@ -55,13 +55,13 @@ static void IB_action_init_callback(simgrid::surf::NetworkAction* action, simgri try { act_src = ibModel->active_nodes.at(src->getName()); } catch (std::out_of_range& unfound) { - throw std::out_of_range(std::string("Could not find '") + src->getName() + "' active comms !"); + throw std::out_of_range(std::string("Could not find '") + src->getCname() + "' active comms !"); } try { act_dst = ibModel->active_nodes.at(dst->getName()); } catch (std::out_of_range& unfound) { - throw std::out_of_range(std::string("Could not find '") + dst->getName() + "' active comms !"); + throw std::out_of_range(std::string("Could not find '") + dst->getCname() + "' active comms !"); } ibModel->active_comms[action]=std::make_pair(act_src, act_dst);