Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
start snake_casing NetZone. Many cleanups to come
[simgrid.git] / src / kernel / routing / NetPoint.cpp
index e1b0510aee4403cac9f9e542e7500d34da01678c..04f9a234967f94f386d80eae1fa8e241593c633b 100644 (file)
@@ -22,7 +22,7 @@ NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl*
     id_ = netzone_p->addComponent(this);
   else
     id_ = static_cast<decltype(id_)>(-1);
-  simgrid::s4u::Engine::getInstance()->netpoint_register(this);
+  simgrid::s4u::Engine::get_instance()->netpoint_register(this);
   simgrid::kernel::routing::NetPoint::onCreation(this);
 }
 }
@@ -35,5 +35,5 @@ NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl*
  */
 simgrid::kernel::routing::NetPoint* sg_netpoint_by_name_or_null(const char* name)
 {
-  return simgrid::s4u::Engine::getInstance()->getNetpointByNameOrNull(name);
+  return simgrid::s4u::Engine::get_instance()->netpoint_by_name_or_null(name);
 }