Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename C++ only header files from .h to .hpp.
[simgrid.git] / src / simix / smx_io.cpp
index 9361f1d..abe0fa8 100644 (file)
@@ -15,7 +15,7 @@
 #include "surf/surf.h"
 
 #include "src/surf/surf_interface.hpp"
-#include "smx_private.h"
+#include "smx_private.hpp"
 
 #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 */