X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bc0555e5d58d2d32d82009d4bde24248093b06c..19cd5a52131b50275fa26e0e53c4a8bd333f2937:/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; }