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
Remove unused type definitions.
[simgrid.git]
/
src
/
s4u
/
s4u_Link.cpp
diff --git
a/src/s4u/s4u_Link.cpp
b/src/s4u/s4u_Link.cpp
index
d188198
..
99d994e
100644
(file)
--- a/
src/s4u/s4u_Link.cpp
+++ b/
src/s4u/s4u_Link.cpp
@@
-109,9
+109,9
@@
const char* Link::get_property(const std::string& key)
{
return this->pimpl_->get_property(key);
}
-void Link::set_property(const std::string& key,
std::string
value)
+void Link::set_property(const std::string& key,
const std::string&
value)
{
- simgrid::simix::simcall([this,
key, value] { this->pimpl_->set_property(key, std::move(value)
); });
+ simgrid::simix::simcall([this,
&key, &value] { this->pimpl_->set_property(key, value
); });
}
} // namespace s4u
} // namespace simgrid