Logo AND Algorithmique Numérique Distribuée

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

index c126245..16a3904 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 (std::vector<StorageAction*>::const_iterator it = p_writeActions.cbegin(); it != p_writeActions.cend();) {
+  for (std::vector<StorageAction*>::iterator it = p_writeActions.begin(); it != p_writeActions.end();) {
     StorageAction *write_action = *it;
     if ((write_action->p_file) == fd) {
       write_action->unref();