A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prefer "using" to "typedef".
[simgrid.git]
/
src
/
smpi
/
internals
/
smpi_shared.cpp
diff --git
a/src/smpi/internals/smpi_shared.cpp
b/src/smpi/internals/smpi_shared.cpp
index
efd249d
..
766ee46
100644
(file)
--- a/
src/smpi/internals/smpi_shared.cpp
+++ b/
src/smpi/internals/smpi_shared.cpp
@@
-79,7
+79,7
@@
struct shared_data_t {
};
std::unordered_map<smpi_source_location, shared_data_t, std::hash<std::string>> allocs;
};
std::unordered_map<smpi_source_location, shared_data_t, std::hash<std::string>> allocs;
-
typedef decltype(allocs)::value_type shared_data_key
_type;
+
using shared_data_key_type = decltype(allocs)::value
_type;
struct shared_metadata_t {
size_t size;
struct shared_metadata_t {
size_t size;