Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
give a network_model to each NetZone (unused for now)
[simgrid.git] / src / kernel / routing / DijkstraZone.cpp
index 54396c5..37cd82d 100644 (file)
@@ -21,13 +21,13 @@ namespace routing {
 
 class GraphNodeData {
 public:
-  GraphNodeData(int id) : id_(id) {}
+  explicit GraphNodeData(int id) : id_(id) {}
   int id_;
   int graph_id_ = -1; /* used for caching internal graph id's */
 };
 
-DijkstraZone::DijkstraZone(NetZoneImpl* father, std::string name, bool cached)
-    : RoutedZone(father, name), cached_(cached)
+DijkstraZone::DijkstraZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel, bool cached)
+    : RoutedZone(father, name, netmodel), cached_(cached)
 {
 }