X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38dfe4cc823740a962aa1da0f3be0c40582d7648..309e5f403c858d0548cc4d7fc72901a79770b2f0:/src/kernel/routing/ClusterZone.cpp diff --git a/src/kernel/routing/ClusterZone.cpp b/src/kernel/routing/ClusterZone.cpp index e3f8505603..3bed217682 100644 --- a/src/kernel/routing/ClusterZone.cpp +++ b/src/kernel/routing/ClusterZone.cpp @@ -133,7 +133,7 @@ void ClusterZone::create_links_for_node(ClusterCreationArgs* cluster, int id, in resource::LinkImpl* linkUp; resource::LinkImpl* linkDown; - if (link.policy == SURF_LINK_SPLITDUPLEX) { + if (link.policy == simgrid::s4u::Link::SharingPolicy::SPLITDUPLEX) { linkUp = resource::LinkImpl::byName(link_id + "_UP"); linkDown = resource::LinkImpl::byName(link_id + "_DOWN"); } else {