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 c45fc622e6a60e66b59fd6f67089df59bb0f6f68..80a441e5ceaf34a83aa6888aaeac9809a9686b3c 100644 (file)
@@ -46,6 +46,7 @@ class System;
 }
 namespace routing {
   class NetPoint;
 }
 namespace routing {
   class NetPoint;
+  class NetZoneImpl;
 }
 }
 namespace simix {
 }
 }
 namespace simix {
index a226bfa1295f149e1b042e811e923d39bb65d1cb..3047a9c2835b0fff2e49326ab1c865898eb59e35 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 {