From: Gabriel Corona Date: Fri, 11 Dec 2015 13:59:41 +0000 (+0100) Subject: [surf] Fix compilation in enable_debug X-Git-Tag: v3_13~1457^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b91beffc3f04d3ae50ad20fa34600716dde8757a [surf] Fix compilation in enable_debug --- diff --git a/src/surf/surf_routing.cpp b/src/surf/surf_routing.cpp index 0da957e14d..d71fe5db92 100644 --- a/src/surf/surf_routing.cpp +++ b/src/surf/surf_routing.cpp @@ -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(current_routing)->p_backbone, "The backbone link is already defined!"); + xbt_assert(!static_cast(current_routing)->p_backbone, "The backbone link is already defined!"); static_cast(current_routing)->p_backbone = static_cast(bb); XBT_DEBUG("Add a backbone to AS '%s'", current_routing->p_name);