From d25c9d802b10c34c59ec47445736f1520b71f72d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 19 Dec 2017 21:05:43 +0100 Subject: [PATCH] sonar: remove redundent declarations --- include/simgrid/forward.h | 1 + include/simgrid/s4u/NetZone.hpp | 10 +--------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index c45fc622e6..80a441e5ce 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -46,6 +46,7 @@ class System; } namespace routing { class NetPoint; + class NetZoneImpl; } } namespace simix { diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index a226bfa129..3047a9c283 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -15,18 +15,10 @@ #include #include +#include #include namespace simgrid { -namespace kernel { -namespace routing { -class NetZoneImpl; -class NetPoint; -} -} -namespace surf { -class LinkImpl; -} namespace s4u { -- 2.20.1