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
Revert "Revert "cast once for all at surf level and not in the APIs""
[simgrid.git]
/
src
/
msg
/
msg_io.cpp
diff --git
a/src/msg/msg_io.cpp
b/src/msg/msg_io.cpp
index
a013379
..
3b06812
100644
(file)
--- a/
src/msg/msg_io.cpp
+++ b/
src/msg/msg_io.cpp
@@
-587,8
+587,7
@@
void *MSG_storage_get_data(msg_storage_t storage)
*/
xbt_dict_t MSG_storage_get_content(msg_storage_t storage)
{
*/
xbt_dict_t MSG_storage_get_content(msg_storage_t storage)
{
- std::map<std::string, sg_size_t*>* content =
- static_cast<simgrid::surf::Storage*>(surf_storage_resource_priv(storage))->getContent();
+ std::map<std::string, sg_size_t*>* content = surf_storage_resource_priv(storage)->getContent();
xbt_dict_t content_dict = xbt_dict_new_homogeneous(nullptr);
for (auto entry : *content) {
xbt_dict_t content_dict = xbt_dict_new_homogeneous(nullptr);
for (auto entry : *content) {