From: Martin Quinson Date: Sun, 18 Feb 2018 15:10:21 +0000 (+0100) Subject: do not mix the enums (good catch, sonar) X-Git-Tag: v3.19~188 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a153a91671e462f1d1f231dabd6f5f81efd81d76 do not mix the enums (good catch, sonar) --- diff --git a/src/surf/xml/surfxml_sax_cb.cpp b/src/surf/xml/surfxml_sax_cb.cpp index 83073b4f0f..d3a116868d 100644 --- a/src/surf/xml/surfxml_sax_cb.cpp +++ b/src/surf/xml/surfxml_sax_cb.cpp @@ -599,7 +599,7 @@ void ETag_surfxml_link(){ XBT_WARN("FULLDUPLEX is now deprecated. Please update your platform file to use SPLITDUPLEX instead."); link.policy = SURF_LINK_SPLITDUPLEX; break; - case A_surfxml_cluster_sharing___policy_SPLITDUPLEX: + case A_surfxml_link_sharing___policy_SPLITDUPLEX: link.policy = SURF_LINK_SPLITDUPLEX; break; default: