X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4cab4842222242d765367092141b3ece6aa903d2..e55efcb3ce72456cb67035488aa4e78136cf972f:/src/smpi/internals/smpi_shared.cpp diff --git a/src/smpi/internals/smpi_shared.cpp b/src/smpi/internals/smpi_shared.cpp index 3e61ea75a9..9291073b24 100644 --- a/src/smpi/internals/smpi_shared.cpp +++ b/src/smpi/internals/smpi_shared.cpp @@ -73,21 +73,21 @@ public: } }; -typedef struct { +struct shared_data_t { int fd = -1; int count = 0; -} shared_data_t; +}; std::unordered_map> allocs; typedef decltype(allocs)::value_type shared_data_key_type; -typedef struct { +struct shared_metadata_t { size_t size; size_t allocated_size; void *allocated_ptr; std::vector> private_blocks; shared_data_key_type* data; -} shared_metadata_t; +}; std::map allocs_metadata; std::map calls;