X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/093b834960aa7457d220feacad9542c4606ed8a0..a4e7a60bca6c13451f237201eb5a7534e5da0838:/src/surf/network_ib.cpp diff --git a/src/surf/network_ib.cpp b/src/surf/network_ib.cpp index 3293c9da28..7d7c3249a9 100644 --- a/src/surf/network_ib.cpp +++ b/src/surf/network_ib.cpp @@ -104,7 +104,6 @@ namespace surf { NetworkIBModel::NetworkIBModel() : NetworkSmpiModel() { - haveGap_ = false; const char* IB_factors_string = xbt_cfg_get_string("smpi/IB-penalty-factors"); std::vector radical_elements; boost::split(radical_elements, IB_factors_string, boost::is_any_of(";")); @@ -133,7 +132,7 @@ NetworkIBModel::NetworkIBModel() : NetworkSmpiModel() NetworkIBModel::~NetworkIBModel() { - for (auto instance : active_nodes) + for (auto const& instance : active_nodes) delete instance.second; }