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
Get ride of ???Ptr types in C++: make pointers explicit
[simgrid.git]
/
src
/
surf
/
surf_routing_none.cpp
diff --git
a/src/surf/surf_routing_none.cpp
b/src/surf/surf_routing_none.cpp
index
1ea0e4a
..
a1a97e8
100644
(file)
--- a/
src/surf/surf_routing_none.cpp
+++ b/
src/surf/surf_routing_none.cpp
@@
-17,7
+17,7
@@
xbt_dynar_t AsNone::getOneLinkRoutes() {
return NULL;
}
return NULL;
}
-void AsNone::getRouteAndLatency(RoutingEdge
Ptr /*src*/, RoutingEdgePtr
/*dst*/,
+void AsNone::getRouteAndLatency(RoutingEdge
*/*src*/, RoutingEdge *
/*dst*/,
sg_platf_route_cbarg_t /*res*/, double *lat)
{
*lat = 0.0;
sg_platf_route_cbarg_t /*res*/, double *lat)
{
*lat = 0.0;
@@
-28,20
+28,20
@@
void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*
XBT_INFO("No routing no graph");
}
XBT_INFO("No routing no graph");
}
-sg_platf_route_cbarg_t AsNone::getBypassRoute(RoutingEdge
Ptr /*src*/, RoutingEdgePtr
/*dst*/, double */*lat*/) {
+sg_platf_route_cbarg_t AsNone::getBypassRoute(RoutingEdge
*/*src*/, RoutingEdge *
/*dst*/, double */*lat*/) {
return NULL;
}
return NULL;
}
-int AsNone::parsePU(RoutingEdge
Ptr
elm) {
+int AsNone::parsePU(RoutingEdge
*
elm) {
XBT_DEBUG("Load process unit \"%s\"", elm->getName());
XBT_DEBUG("Load process unit \"%s\"", elm->getName());
- xbt_dynar_push_as(p_indexNetworkElm, RoutingEdge
Ptr
, elm);
+ xbt_dynar_push_as(p_indexNetworkElm, RoutingEdge
*
, elm);
/* don't care about PUs */
return -1;
}
/* don't care about PUs */
return -1;
}
-int AsNone::parseAS(RoutingEdge
Ptr
elm) {
+int AsNone::parseAS(RoutingEdge
*
elm) {
XBT_DEBUG("Load Autonomous system \"%s\"", elm->getName());
XBT_DEBUG("Load Autonomous system \"%s\"", elm->getName());
- xbt_dynar_push_as(p_indexNetworkElm, RoutingEdge
Ptr
, elm);
+ xbt_dynar_push_as(p_indexNetworkElm, RoutingEdge
*
, elm);
/* even don't care about sub-ASes -- I'm as nihilist as an old punk*/
return -1;
}
/* even don't care about sub-ASes -- I'm as nihilist as an old punk*/
return -1;
}