X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c427bd273d7f90bbe5233b6fe8d20bfd945ea4b..c86fbd9ddd59c63d254ddc5f9f661889419df5f9:/src/mc/mc_comm_pattern.hpp diff --git a/src/mc/mc_comm_pattern.hpp b/src/mc/mc_comm_pattern.hpp index 204889ebb7..68a42e545d 100644 --- a/src/mc/mc_comm_pattern.hpp +++ b/src/mc/mc_comm_pattern.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -9,7 +9,6 @@ #include #include "smpi/smpi.h" - #include "src/mc/mc_state.hpp" namespace simgrid { @@ -44,9 +43,9 @@ enum e_mc_comm_pattern_difference_t { DATA_DIFF, }; -static inline e_mc_call_type_t MC_get_call_type(smx_simcall_t req) +static inline e_mc_call_type_t MC_get_call_type(const s_smx_simcall* req) { - switch (req->call) { + switch (req->call_) { case SIMCALL_COMM_ISEND: return MC_CALL_TYPE_SEND; case SIMCALL_COMM_IRECV: