Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[surf] Fix compilation in enable_debug
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 11 Dec 2015 13:59:41 +0000 (14:59 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 11 Dec 2015 13:59:41 +0000 (14:59 +0100)
src/surf/surf_routing.cpp

index 0da957e..d71fe5d 100644 (file)
@@ -676,7 +676,7 @@ void routing_model_create( void *loopback)
 void routing_cluster_add_backbone(void* bb) {
   xbt_assert(current_routing->p_modelDesc == &routing_models[SURF_MODEL_CLUSTER],
         "You have to be in model Cluster to use tag backbone!");
-  xbt_assert(!static_cast<AsCluster*>(current_routing)->p_backbone, "The backbone link is already defined!");
+  xbt_assert(!static_cast<simgrid::surf::AsCluster*>(current_routing)->p_backbone, "The backbone link is already defined!");
   static_cast<simgrid::surf::AsCluster*>(current_routing)->p_backbone =
     static_cast<simgrid::surf::Link*>(bb);
   XBT_DEBUG("Add a backbone to AS '%s'", current_routing->p_name);