X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/04cb8833befbe07b6b94ff0cae98bc17b78724e3..de57b34916659892d2dc26edabf552253afe2c18:/src/kernel/routing/NetPoint.cpp diff --git a/src/kernel/routing/NetPoint.cpp b/src/kernel/routing/NetPoint.cpp index 054b8b4e3b..3670c7099c 100644 --- a/src/kernel/routing/NetPoint.cpp +++ b/src/kernel/routing/NetPoint.cpp @@ -21,7 +21,7 @@ NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl* { if (netzone_p != nullptr) id_ = netzone_p->addComponent(this); - simgrid::s4u::Engine::instance()->netpointRegister(this); + simgrid::s4u::Engine::getInstance()->netpointRegister(this); simgrid::kernel::routing::NetPoint::onCreation(this); } } @@ -34,5 +34,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::instance()->netpointByNameOrNull(name); + return simgrid::s4u::Engine::getInstance()->getNetpointByNameOrNull(name); }