From 8936dac836a8288d60c7a8bbccfbda7c2b6233d2 Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Tue, 25 Jul 2017 17:34:36 +0200 Subject: [PATCH 1/1] fix MC which uses simgrid::xbt::string --- src/surf/network_ib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1