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
Use plain pointers instead of references to pointer.
[simgrid.git]
/
src
/
kernel
/
routing
/
DijkstraZone.cpp
diff --git
a/src/kernel/routing/DijkstraZone.cpp
b/src/kernel/routing/DijkstraZone.cpp
index 40335edf8a4f4b96bf74124b1ae8ea2583c1befd..216961020d64ee8a8ffaf3fc7a20bfdd5bbb1a31 100644
(file)
--- a/
src/kernel/routing/DijkstraZone.cpp
+++ b/
src/kernel/routing/DijkstraZone.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2009-202
2
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2009-202
3
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-13,11
+13,10
@@
#include <queue>
#include <vector>
#include <queue>
#include <vector>
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ker_routing_dijkstra, ker_
routing
, "Kernel Dijkstra Routing");
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ker_routing_dijkstra, ker_
platform
, "Kernel Dijkstra Routing");
namespace simgrid {
namespace simgrid {
-namespace kernel {
-namespace routing {
+namespace kernel::routing {
class GraphNodeData {
public:
class GraphNodeData {
public:
@@
-245,8
+244,7
@@
void DijkstraZone::new_edge(unsigned long src_id, unsigned long dst_id, Route* r
// Finally add it
xbt_graph_new_edge(route_graph_.get(), src, dst, route);
}
// Finally add it
xbt_graph_new_edge(route_graph_.get(), src, dst, route);
}
-} // namespace routing
-} // namespace kernel
+} // namespace kernel::routing
namespace s4u {
NetZone* create_dijkstra_zone(const std::string& name, bool cache)
namespace s4u {
NetZone* create_dijkstra_zone(const std::string& name, bool cache)