Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't list the possible routings in DTD. We want to add more w/o changing the DTD
[simgrid.git] / src / surf / xml / surfxml_sax_cb.cpp
index 09f67cd..ed4fbd8 100644 (file)
@@ -749,7 +749,7 @@ void STag_surfxml_zone()
   property_sets.push_back(new std::unordered_map<std::string, std::string>());
   simgrid::kernel::routing::ZoneCreationArgs zone;
   zone.id      = A_surfxml_zone_id;
-  zone.routing = static_cast<int>(A_surfxml_zone_routing);
+  zone.routing = A_surfxml_zone_routing;
   sg_platf_new_Zone_begin(&zone);
 }