From: Frederic Suter Date: Thu, 18 Aug 2016 09:17:54 +0000 (+0200) Subject: fix build X-Git-Tag: v3_14~530 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9aa1d911ed1cf35b527cb21cdbd4458508d3178d fix build --- diff --git a/src/surf/storage_n11.cpp b/src/surf/storage_n11.cpp index c43bfc5908..c1262454f1 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 (auto it = p_writeActions.cbegin(); it != p_writeActions.cend();) { + for (std::vector::const_iterator it = p_writeActions.cbegin(); it != p_writeActions.cend();) { StorageAction *write_action = *it; if ((write_action->p_file) == fd) { write_action->unref();