]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/sg_platf.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add "some" other nonblocking collectives
[simgrid.git] / src / surf / sg_platf.cpp
index 5eac4b444f03662518c2ff5d9caf86fc48ed4a31..1e04af4a017397734cf120d88d36565c8f18e6f8 100644 (file)
@@ -33,7 +33,7 @@ XBT_PRIVATE std::vector<std::string> known_storages;
 namespace simgrid {
 namespace surf {
 
-simgrid::xbt::signal<void(kernel::routing::ClusterCreationArgs*)> on_cluster;
+simgrid::xbt::signal<void(kernel::routing::ClusterCreationArgs const&)> on_cluster;
 }
 }
 
@@ -285,7 +285,7 @@ void sg_platf_new_cluster(simgrid::kernel::routing::ClusterCreationArgs* cluster
   XBT_DEBUG("</AS>");
   sg_platf_new_Zone_seal();
 
-  simgrid::surf::on_cluster(cluster);
+  simgrid::surf::on_cluster(*cluster);
   delete cluster->radicals;
 }