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
Whenever possible, use std::move() for parameters (mostly std::string).
[simgrid.git]
/
src
/
kernel
/
routing
/
EmptyZone.cpp
diff --git
a/src/kernel/routing/EmptyZone.cpp
b/src/kernel/routing/EmptyZone.cpp
index
c07eb06
..
bd04471
100644
(file)
--- a/
src/kernel/routing/EmptyZone.cpp
+++ b/
src/kernel/routing/EmptyZone.cpp
@@
-16,7
+16,7
@@
namespace kernel {
namespace routing {
EmptyZone::EmptyZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel)
- : NetZoneImpl(father,
name
, netmodel)
+ : NetZoneImpl(father,
std::move(name)
, netmodel)
{
}