X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dc04f83284126c46ca9f5fe5489c31fffd3eb89a..ac6b411512330530569fadb8c3f4fb82a4c70440:/src/surf/surf_routing.hpp diff --git a/src/surf/surf_routing.hpp b/src/surf/surf_routing.hpp index 600edf1e1e..c3801295dd 100644 --- a/src/surf/surf_routing.hpp +++ b/src/surf/surf_routing.hpp @@ -55,7 +55,7 @@ public: char *p_name = nullptr; As *p_routingFather = nullptr; xbt_dict_t p_routingSons = xbt_dict_new_homogeneous(NULL); - NetCard *p_netElem; + NetCard *p_netcard; xbt_dynar_t p_linkUpDownList = NULL; /** @@ -71,8 +71,8 @@ public: xbt_dynar_free(&p_indexNetworkElm); xbt_dynar_free(&p_linkUpDownList); xbt_free(p_name); - if (p_netElem) - delete p_netElem; + if (p_netcard) + delete p_netcard; }; /** @@ -161,7 +161,7 @@ public: * Callbacks * *************/ -XBT_PUBLIC_DATA(simgrid::xbt::signal) routingEdgeCreatedCallbacks; +XBT_PUBLIC_DATA(simgrid::xbt::signal) netcardCreatedCallbacks; XBT_PUBLIC_DATA(simgrid::xbt::signal) asCreatedCallbacks; }