Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make piface_ private and have get_iface() everywhere
[simgrid.git] / src / surf / ptask_L07.cpp
index 260757a..3b1ca2e 100644 (file)
@@ -254,7 +254,7 @@ LinkL07::LinkL07(NetworkL07Model* model, const std::string& name, double bandwid
   if (policy == s4u::Link::SharingPolicy::FATPIPE)
     get_constraint()->unshare();
 
-  s4u::Link::on_creation(this->piface_);
+  s4u::Link::on_creation(*get_iface());
 }
 
 kernel::resource::CpuAction* CpuL07::execution_start(double size)