]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/surf_routing_none.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
code simplification around Host::onDestruction
[simgrid.git] / src / surf / surf_routing_none.hpp
index 30632612286e48af3f808f23aeab43309c742fa4..472aa0860515cca1f0276b925cef3deb9e4b1a62 100644 (file)
@@ -4,12 +4,17 @@
 /* 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 <xbt/base.h>
+
 #include "surf_routing.hpp"
 
 #ifndef SURF_ROUTING_NONE_HPP_
 #define SURF_ROUTING_NONE_HPP_
 
-class AsNone : public As {
+namespace simgrid {
+namespace surf {
+
+class XBT_PRIVATE AsNone : public As {
 public:
   AsNone();
   ~AsNone();
@@ -30,5 +35,7 @@ public:
   void parseBypassroute(sg_platf_route_cbarg_t e_route);
 };
 
+}
+}
 
 #endif /* SURF_ROUTING_NONE_HPP_ */