X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b87fc0829538ec066fd077e6c30ee6270b8abd78..a4e7a60bca6c13451f237201eb5a7534e5da0838:/src/surf/network_ib.cpp diff --git a/src/surf/network_ib.cpp b/src/surf/network_ib.cpp index 7756239812..7d7c3249a9 100644 --- a/src/surf/network_ib.cpp +++ b/src/surf/network_ib.cpp @@ -132,7 +132,7 @@ NetworkIBModel::NetworkIBModel() : NetworkSmpiModel() NetworkIBModel::~NetworkIBModel() { - for (auto instance : active_nodes) + for (auto const& instance : active_nodes) delete instance.second; }