Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
improve an error message
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 16 Jun 2017 21:22:50 +0000 (23:22 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 16 Jun 2017 21:22:50 +0000 (23:22 +0200)
src/surf/sg_platf.cpp

index c9e3c5d..75db20e 100644 (file)
@@ -648,7 +648,7 @@ simgrid::s4u::NetZone* sg_platf_new_AS_begin(sg_platf_AS_cbarg_t AS)
 
   if (current_routing == nullptr) { /* it is the first one */
     xbt_assert(simgrid::s4u::Engine::instance()->pimpl->netRoot_ == nullptr,
 
   if (current_routing == nullptr) { /* it is the first one */
     xbt_assert(simgrid::s4u::Engine::instance()->pimpl->netRoot_ == nullptr,
-               "All defined components must belong to a AS");
+               "All defined components must belong to a networking zone.");
     simgrid::s4u::Engine::instance()->pimpl->netRoot_ = new_as;
 
   } else {
     simgrid::s4u::Engine::instance()->pimpl->netRoot_ = new_as;
 
   } else {