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
rename As::getRouteAndLatency into As::getLocalRoute
[simgrid.git]
/
src
/
kernel
/
routing
/
AsNone.cpp
diff --git
a/src/kernel/routing/AsNone.cpp
b/src/kernel/routing/AsNone.cpp
index
41c6272
..
5544222
100644
(file)
--- a/
src/kernel/routing/AsNone.cpp
+++ b/
src/kernel/routing/AsNone.cpp
@@
-12,17
+12,15
@@
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
namespace simgrid {
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
namespace simgrid {
+namespace kernel {
namespace routing {
namespace routing {
-AsNone::AsNone(const char*name)
- : AsImpl(name)
+AsNone::AsNone(As* father, const char* name) : AsImpl(father, name)
{}
{}
-AsNone::~AsNone()
-{}
+AsNone::~AsNone() = default;
-void AsNone::getRouteAndLatency(NetCard * /*src*/, NetCard * /*dst*/,
- sg_platf_route_cbarg_t /*res*/, double */*lat*/)
+void AsNone::getLocalRoute(NetCard* /*src*/, NetCard* /*dst*/, sg_platf_route_cbarg_t /*res*/, double* /*lat*/)
{}
void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
{}
void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
@@
-30,5
+28,4
@@
void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*
XBT_ERROR("No routing no graph");
}
XBT_ERROR("No routing no graph");
}
-}
-}
+}}}