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

Public GIT Repository
[sonar] Don't name unused exceptions.
[simgrid.git] / src / surf / xml / platf_private.hpp
index 713cbeeb854e4a2c6392d7931d0510adc47477f7..e321afc2966f619ced96112a0474e7380aee2b08 100644 (file)
@@ -39,7 +39,7 @@ struct HostCreationArgs {
   int core_amount          = 0;
   profile::Profile* speed_trace                            = nullptr;
   profile::Profile* state_trace                            = nullptr;
-  const char* coord        = nullptr;
+  std::string coord                                        = "";
   std::unordered_map<std::string, std::string>* properties = nullptr;
 };
 
@@ -227,7 +227,7 @@ XBT_PUBLIC int surf_parse_lex_destroy();
 namespace simgrid {
 namespace surf {
 
-extern XBT_PRIVATE simgrid::xbt::signal<void(kernel::routing::ClusterCreationArgs*)> on_cluster;
+extern XBT_PRIVATE simgrid::xbt::signal<void(kernel::routing::ClusterCreationArgs const&)> on_cluster;
 }
 }