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
kill kill simcall
[simgrid.git]
/
src
/
s4u
/
s4u_storage.cpp
diff --git
a/src/s4u/s4u_storage.cpp
b/src/s4u/s4u_storage.cpp
index
74770d9
..
3890ce3
100644
(file)
--- a/
src/s4u/s4u_storage.cpp
+++ b/
src/s4u/s4u_storage.cpp
@@
-22,7
+22,7
@@
std::map<std::string, Storage*>* allStorages()
return res;
}
return res;
}
-Storage* Storage::byName(
const char*
name)
+Storage* Storage::byName(
std::string
name)
{
surf::StorageImpl* res = surf::StorageImpl::byName(name);
if (res == nullptr)
{
surf::StorageImpl* res = surf::StorageImpl::byName(name);
if (res == nullptr)
@@
-60,7
+60,7
@@
sg_size_t Storage::getSize()
return pimpl_->getSize();
}
return pimpl_->getSize();
}
-
xbt_dict_t
Storage::getProperties()
+
std::map<std::string, std::string>*
Storage::getProperties()
{
return simgrid::simix::kernelImmediate([this] { return pimpl_->getProperties(); });
}
{
return simgrid::simix::kernelImmediate([this] { return pimpl_->getProperties(); });
}