X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2212826ed1d2df61b17e5984660e19288247063f..262c0777ed16cb8e15eaadd3785c6fec87039b26:/src/kernel/routing/NetPoint.cpp diff --git a/src/kernel/routing/NetPoint.cpp b/src/kernel/routing/NetPoint.cpp index e1b0510aee..9246108db2 100644 --- a/src/kernel/routing/NetPoint.cpp +++ b/src/kernel/routing/NetPoint.cpp @@ -22,7 +22,7 @@ NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl* id_ = netzone_p->addComponent(this); else id_ = static_cast(-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()->getNetpointByNameOrNull(name); }