Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sonar: remove redundent declarations
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 19 Dec 2017 20:05:43 +0000 (21:05 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 19 Dec 2017 20:05:43 +0000 (21:05 +0100)
include/simgrid/forward.h
include/simgrid/s4u/NetZone.hpp

index c45fc62..80a441e 100644 (file)
@@ -46,6 +46,7 @@ class System;
 }
 namespace routing {
   class NetPoint;
 }
 namespace routing {
   class NetPoint;
+  class NetZoneImpl;
 }
 }
 namespace simix {
 }
 }
 namespace simix {
index a226bfa..3047a9c 100644 (file)
 #include <xbt/graph.h>
 #include <xbt/signal.hpp>
 
 #include <xbt/graph.h>
 #include <xbt/signal.hpp>
 
+#include <simgrid/forward.h>
 #include <simgrid/s4u/forward.hpp>
 
 namespace simgrid {
 #include <simgrid/s4u/forward.hpp>
 
 namespace simgrid {
-namespace kernel {
-namespace routing {
-class NetZoneImpl;
-class NetPoint;
-}
-}
-namespace surf {
-class LinkImpl;
-}
 
 namespace s4u {
 
 
 namespace s4u {