- xbt_assert(NULL == Link::byName(name), "Link '%s' declared several times in the platform", name);
-
- Link* link = new NetworkCm02Link(this, name, properties, p_maxminSystem, sg_bandwidth_factor * bandwidth, bandwidth, latency, policy);
- Link::onCreation(link);
- return link;
+ return new NetworkCm02Link(this, name, properties, maxminSystem_, sg_bandwidth_factor * bandwidth, bandwidth, latency, policy);