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]
/
include
/
simgrid
/
kernel
/
routing
/
DijkstraZone.hpp
diff --git
a/include/simgrid/kernel/routing/DijkstraZone.hpp
b/include/simgrid/kernel/routing/DijkstraZone.hpp
index
3ae74ff
..
279bf5c
100644
(file)
--- a/
include/simgrid/kernel/routing/DijkstraZone.hpp
+++ b/
include/simgrid/kernel/routing/DijkstraZone.hpp
@@
-24,7
+24,7
@@
namespace routing {
*/
class XBT_PRIVATE DijkstraZone : public RoutedZone {
public:
*/
class XBT_PRIVATE DijkstraZone : public RoutedZone {
public:
- DijkstraZone(NetZoneImpl* father,
std::string
name, resource::NetworkModel* netmodel, bool cached);
+ DijkstraZone(NetZoneImpl* father,
const std::string&
name, resource::NetworkModel* netmodel, bool cached);
DijkstraZone(const DijkstraZone&) = delete;
DijkstraZone& operator=(const DijkstraZone&) = delete;
DijkstraZone(const DijkstraZone&) = delete;
DijkstraZone& operator=(const DijkstraZone&) = delete;