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
stringify (a lot)
[simgrid.git]
/
src
/
s4u
/
s4u_storage.cpp
diff --git
a/src/s4u/s4u_storage.cpp
b/src/s4u/s4u_storage.cpp
index
c3066bd
..
6dd8fe9
100644
(file)
--- a/
src/s4u/s4u_storage.cpp
+++ b/
src/s4u/s4u_storage.cpp
@@
-70,12
+70,12
@@
std::map<std::string, std::string>* Storage::getProperties()
return simgrid::simix::kernelImmediate([this] { return pimpl_->getProperties(); });
}
return simgrid::simix::kernelImmediate([this] { return pimpl_->getProperties(); });
}
-const char* Storage::getProperty(
const char*
key)
+const char* Storage::getProperty(
std::string
key)
{
return this->pimpl_->getProperty(key);
}
{
return this->pimpl_->getProperty(key);
}
-void Storage::setProperty(
const char* key, const char*
value)
+void Storage::setProperty(
std::string key, std::string
value)
{
simgrid::simix::kernelImmediate([this, key, value] { this->pimpl_->setProperty(key, value); });
}
{
simgrid::simix::kernelImmediate([this, key, value] { this->pimpl_->setProperty(key, value); });
}