Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] initialization lists and co.
[simgrid.git] / src / mc / mc_comm_pattern.hpp
index 204889e..9d55a88 100644 (file)
@@ -9,7 +9,6 @@
 #include <vector>
 
 #include "smpi/smpi.h"
-
 #include "src/mc/mc_state.hpp"
 
 namespace simgrid {
@@ -46,7 +45,7 @@ enum e_mc_comm_pattern_difference_t {
 
 static inline e_mc_call_type_t MC_get_call_type(smx_simcall_t req)
 {
-  switch (req->call) {
+  switch (req->call_) {
     case SIMCALL_COMM_ISEND:
       return MC_CALL_TYPE_SEND;
     case SIMCALL_COMM_IRECV: