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
move some content from AsNone into As (AsNone should die)
[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
28c64fb
..
989730d
100644
(file)
--- a/
src/surf/surf_routing_none.cpp
+++ b/
src/surf/surf_routing_none.cpp
@@
-4,7
+4,8
@@
/* 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. */
-#include "surf_routing_none.hpp"
+#include "src/surf/surf_routing_private.hpp"
+#include "src/surf/surf_routing_none.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
@@
-62,15
+63,9
@@
void AsNone::parseBypassroute(sg_platf_route_cbarg_t /*e_route*/){
/* Creation routing model functions */
AsNone::AsNone() {
/* Creation routing model functions */
AsNone::AsNone() {
- p_routingSons = xbt_dict_new_homogeneous(NULL);
- p_indexNetworkElm = xbt_dynar_new(sizeof(char*),NULL);
- p_linkUpDownList = NULL;
}
AsNone::~AsNone() {
}
AsNone::~AsNone() {
- xbt_dict_free(&p_routingSons);
- xbt_dynar_free(&p_indexNetworkElm);
- xbt_dynar_free(&p_linkUpDownList);
}
}
}
}