X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/88474126433cd47e2289512aef9f6e0ddd260a4a..390ee57ed79bf7577c2bce6df6a25aba57ff476e:/src/surf/network_ib.hpp diff --git a/src/surf/network_ib.hpp b/src/surf/network_ib.hpp index a457a61f3c..8d1103e6c0 100644 --- a/src/surf/network_ib.hpp +++ b/src/surf/network_ib.hpp @@ -22,7 +22,7 @@ namespace simgrid { IBNode* destination; NetworkAction *action; double init_rate; - ActiveComm() : destination(NULL),action(NULL),init_rate(-1){}; + ActiveComm() : destination(nullptr),action(nullptr),init_rate(-1){}; ~ActiveComm(){}; }; @@ -46,7 +46,7 @@ namespace simgrid { public: NetworkIBModel(); explicit NetworkIBModel(const char *name); - ~NetworkIBModel(); + ~NetworkIBModel() override; void updateIBfactors(NetworkAction *action, IBNode *from, IBNode * to, int remove); xbt_dict_t active_nodes;