Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
finish snake_case s4u::Engine
[simgrid.git] / src / surf / xml / surfxml_sax_cb.cpp
index 22836f5..9e8f534 100644 (file)
@@ -390,8 +390,6 @@ void STag_surfxml_platform() {
                              "The most recent formalism that this version of SimGrid understands is v4.1.\n"
                              "Please update your code, or use another, more adapted, file.",
              surf_parsed_filename, version);
-
-  simgrid::s4u::on_platform_creation();
 }
 void ETag_surfxml_platform(){
   simgrid::s4u::on_platform_created();
@@ -406,7 +404,7 @@ void STag_surfxml_prop()
 {
   if (ZONE_TAG) { // We need to retrieve the most recently opened zone
     XBT_DEBUG("Set zone property %s -> %s", A_surfxml_prop_id, A_surfxml_prop_value);
-    simgrid::s4u::NetZone* netzone = simgrid::s4u::Engine::get_instance()->getNetzoneByNameOrNull(A_surfxml_zone_id);
+    simgrid::s4u::NetZone* netzone = simgrid::s4u::Engine::get_instance()->netzone_by_name_or_null(A_surfxml_zone_id);
 
     netzone->setProperty(A_surfxml_prop_id, A_surfxml_prop_value);
   } else {
@@ -869,7 +867,6 @@ void ETag_surfxml_config()
   }
   XBT_DEBUG("End configuration name = %s",A_surfxml_config_id);
 
-  simgrid::s4u::on_config_in_platform_done();
   delete current_property_set;
   current_property_set = nullptr;
 }