Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the routing stuff to its namespace
[simgrid.git] / src / surf / AsNone.hpp
index 9976d1b..30708f9 100644 (file)
@@ -9,13 +9,13 @@
 #include "src/surf/AsImpl.hpp"
 
 namespace simgrid {
-namespace surf {
+namespace routing {
 
 /** No specific routing. Mainly useful with the constant network model */
 class XBT_PRIVATE AsNone : public AsImpl {
 public:
-  AsNone(const char*name);
-  ~AsNone();
+  explicit AsNone(const char*name);
+  ~AsNone() override;
 
   void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
   void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override;