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
Pass std::string parameters by reference too.
[simgrid.git]
/
src
/
kernel
/
activity
/
IoImpl.cpp
diff --git
a/src/kernel/activity/IoImpl.cpp
b/src/kernel/activity/IoImpl.cpp
index
daacc4a
..
c76752f
100644
(file)
--- a/
src/kernel/activity/IoImpl.cpp
+++ b/
src/kernel/activity/IoImpl.cpp
@@
-37,7
+37,7
@@
namespace simgrid {
namespace kernel {
namespace activity {
namespace kernel {
namespace activity {
-IoImpl::IoImpl(
std::string name, surf::StorageImpl* storage) : ActivityImpl(std::move(name)
), storage_(storage)
+IoImpl::IoImpl(
const std::string& name, surf::StorageImpl* storage) : ActivityImpl(name
), storage_(storage)
{
this->state_ = SIMIX_RUNNING;
{
this->state_ = SIMIX_RUNNING;