Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Suppressed a bit too much of codes
[simgrid.git] / examples / cpp / dag-comm / s4u-dag-comm.cpp
index 690f3f06d1259a0fe586ac43e816b1ed2eabe577..77cb31d1de5c818b09ca11825b2e6fd5a136921d 100644 (file)
@@ -13,11 +13,10 @@ namespace sg4 = simgrid::s4u;
 int main(int argc, char* argv[])
 {
   sg4::Engine e(&argc, argv);
-  sg_storage_file_system_init();
   e.load_platform(argv[1]);
 
-  auto tremblay = e.host_by_name("Tremblay");
-  auto jupiter  = e.host_by_name("Jupiter");
+  auto* tremblay = e.host_by_name("Tremblay");
+  auto* jupiter  = e.host_by_name("Jupiter");
 
   // Display the details on vetoed activities
   sg4::Exec::on_veto_cb([](sg4::Exec const& exec) {