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
migrate to set_host in java too
[simgrid.git]
/
src
/
s4u
/
s4u_Storage.cpp
diff --git
a/src/s4u/s4u_Storage.cpp
b/src/s4u/s4u_Storage.cpp
index
8de6680
..
59667fd
100644
(file)
--- a/
src/s4u/s4u_Storage.cpp
+++ b/
src/s4u/s4u_Storage.cpp
@@
-53,7
+53,7
@@
const char* Storage::get_property(const std::string& key) const
void Storage::set_property(const std::string& key, const std::string& value)
{
void Storage::set_property(const std::string& key, const std::string& value)
{
-
simix
::simcall([this, &key, &value] { this->pimpl_->set_property(key, value); });
+
kernel::actor
::simcall([this, &key, &value] { this->pimpl_->set_property(key, value); });
}
IoPtr Storage::io_init(sg_size_t size, Io::OpType type)
}
IoPtr Storage::io_init(sg_size_t size, Io::OpType type)
@@
-122,7
+122,7
@@
xbt_dict_t sg_storage_get_properties(sg_storage_t storage)
if (props == nullptr)
return nullptr;
for (auto const& elm : *props) {
if (props == nullptr)
return nullptr;
for (auto const& elm : *props) {
- xbt_dict_set(as_dict, elm.first.c_str(), xbt_strdup(elm.second.c_str())
, nullptr
);
+ xbt_dict_set(as_dict, elm.first.c_str(), xbt_strdup(elm.second.c_str()));
}
return as_dict;
}
}
return as_dict;
}