X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0d7a222297c1d39c43cdb2f09ea1d5ddd03c7aa0..7d57ca811234dbffc0e041914391e0fe47c2d3ae:/src/surf/callbacks.cpp diff --git a/src/surf/callbacks.cpp b/src/surf/callbacks.cpp index 34774a077a..7af364a0fc 100644 --- a/src/surf/callbacks.cpp +++ b/src/surf/callbacks.cpp @@ -10,13 +10,6 @@ #include "src/surf/surf_interface.hpp" #include "src/surf/host_interface.hpp" -void surf_on_host_created(void (*callback)(sg_host_t)) -{ - simgrid::surf::Host::onCreation.connect([callback](simgrid::surf::Host* host) { - callback(host->p_host); - }); -} - void surf_on_storage_created(void (*callback)(sg_storage_t)) { simgrid::surf::storageCreatedCallbacks.connect([callback](simgrid::surf::Storage* storage) {