Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unused typedef.
[simgrid.git] / src / simix / smx_io.cpp
index 9361f1d..90c7f88 100644 (file)
@@ -14,8 +14,8 @@
 #include "src/surf/StorageImpl.hpp"
 #include "surf/surf.h"
 
+#include "smx_private.hpp"
 #include "src/surf/surf_interface.hpp"
-#include "smx_private.h"
 
 #include "src/kernel/activity/SynchroIo.hpp"
 
@@ -68,7 +68,7 @@ void SIMIX_io_destroy(smx_activity_t synchro)
 
 void SIMIX_io_finish(smx_activity_t synchro)
 {
-  for (smx_simcall_t simcall : synchro->simcalls) {
+  for (smx_simcall_t const& simcall : synchro->simcalls) {
     switch (synchro->state) {
       case SIMIX_DONE:
         /* do nothing, synchro done */