From ec484f2992fa8cc80e0f784a70217c0efd3c391e Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Thu, 18 Aug 2016 11:18:28 +0200 Subject: [PATCH] woops --- src/surf/storage_n11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1