X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dae0945417b60dd56b2d01d3190873f1c7eee08d..5eb856761d5f073b07eac25c05012cfa8075e1f1:/src/smpi/smpi_request.cpp diff --git a/src/smpi/smpi_request.cpp b/src/smpi/smpi_request.cpp index 46012d70f6..85f55b60aa 100644 --- a/src/smpi/smpi_request.cpp +++ b/src/smpi/smpi_request.cpp @@ -1004,23 +1004,23 @@ MPI_Request Request::f2c(int id) { char key[KEY_SIZE]; if(id==MPI_FORTRAN_REQUEST_NULL) return static_cast(MPI_REQUEST_NULL); - return static_cast(xbt_dict_get(Request::f2c_lookup_, get_key_id(key, id))); + return static_cast(xbt_dict_get(F2C::f2c_lookup_, get_key_id(key, id))); } int Request::add_f() { - if(Request::f2c_lookup_==nullptr){ - Request::f2c_lookup_=xbt_dict_new_homogeneous(nullptr); + if(F2C::f2c_lookup_==nullptr){ + F2C::f2c_lookup_=xbt_dict_new_homogeneous(nullptr); } char key[KEY_SIZE]; - xbt_dict_set(Request::f2c_lookup_, get_key_id(key, Request::f2c_id_), this, nullptr); - Request::f2c_id_++; - return Request::f2c_id_-1; + xbt_dict_set(F2C::f2c_lookup_, get_key_id(key, F2C::f2c_id_), this, nullptr); + F2C::f2c_id_++; + return F2C::f2c_id_-1; } void Request::free_f(int id) { char key[KEY_SIZE]; if(id!=MPI_FORTRAN_REQUEST_NULL) - xbt_dict_remove(Request::f2c_lookup_, get_key_id(key, id)); + xbt_dict_remove(F2C::f2c_lookup_, get_key_id(key, id)); }