From: Frederic Suter Date: Thu, 18 Aug 2016 09:18:28 +0000 (+0200) Subject: woops X-Git-Tag: v3_14~529 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ec484f2992fa8cc80e0f784a70217c0efd3c391e?hp=9aa1d911ed1cf35b527cb21cdbd4458508d3178d woops --- diff --git a/src/surf/storage_n11.cpp b/src/surf/storage_n11.cpp index c1262454f1..16a3904a40 100644 --- a/src/surf/storage_n11.cpp +++ b/src/surf/storage_n11.cpp @@ -237,7 +237,7 @@ StorageAction *StorageN11::close(surf_file_t fd) { XBT_DEBUG("\tClose file '%s' size '%llu'", fd->name, fd->size); // unref write actions from storage - for (std::vector::const_iterator it = p_writeActions.cbegin(); it != p_writeActions.cend();) { + for (std::vector::iterator it = p_writeActions.begin(); it != p_writeActions.end();) { StorageAction *write_action = *it; if ((write_action->p_file) == fd) { write_action->unref();