X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d6dd7f0a4a1dd08189c44dfbb20c7adb5ceb9c5..53300623ffc4a530dedcc517d559926ea0891edf:/src/kernel/routing/NetPoint.cpp diff --git a/src/kernel/routing/NetPoint.cpp b/src/kernel/routing/NetPoint.cpp index 04f9a23496..6326cf27a9 100644 --- a/src/kernel/routing/NetPoint.cpp +++ b/src/kernel/routing/NetPoint.cpp @@ -19,7 +19,7 @@ NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl* : name_(name), component_type_(componentType), englobing_zone_(netzone_p) { if (netzone_p != nullptr) - id_ = netzone_p->addComponent(this); + id_ = netzone_p->add_component(this); else id_ = static_cast(-1); simgrid::s4u::Engine::get_instance()->netpoint_register(this);