Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix build
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 18 Aug 2016 09:17:54 +0000 (11:17 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 18 Aug 2016 09:17:54 +0000 (11:17 +0200)
src/surf/storage_n11.cpp

index c43bfc5..c126245 100644 (file)
@@ -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<StorageAction*>::const_iterator it = p_writeActions.cbegin(); it != p_writeActions.cend();) {
     StorageAction *write_action = *it;
     if ((write_action->p_file) == fd) {
       write_action->unref();