From: Arnaud Giersch Date: Tue, 26 Jun 2018 13:00:29 +0000 (+0200) Subject: Try to please Sonar about redundant forward declaration of Transition. X-Git-Tag: v3_21~627 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/06c8530e8d501da8ca2d67e5964d37d232a4cce8 Try to please Sonar about redundant forward declaration of Transition. --- diff --git a/src/mc/checker/CommunicationDeterminismChecker.cpp b/src/mc/checker/CommunicationDeterminismChecker.cpp index 68836c628c..0d1aa71c36 100644 --- a/src/mc/checker/CommunicationDeterminismChecker.cpp +++ b/src/mc/checker/CommunicationDeterminismChecker.cpp @@ -9,7 +9,6 @@ #include #include -#include "src/mc/Transition.hpp" #include "src/mc/VisitedState.hpp" #include "src/mc/checker/CommunicationDeterminismChecker.hpp" #include "src/mc/mc_exit.hpp" diff --git a/src/mc/mc_record.hpp b/src/mc/mc_record.hpp index 34ecd200d9..244bb20a77 100644 --- a/src/mc/mc_record.hpp +++ b/src/mc/mc_record.hpp @@ -17,8 +17,8 @@ #ifndef SIMGRID_MC_RECORD_HPP #define SIMGRID_MC_RECORD_HPP -#include "src/mc/Transition.hpp" #include "src/mc/mc_config.hpp" +#include "src/mc/mc_forward.hpp" #include "xbt/base.h" #include diff --git a/src/mc/mc_state.cpp b/src/mc/mc_state.cpp index 39364ac7aa..92aff1f6c8 100644 --- a/src/mc/mc_state.cpp +++ b/src/mc/mc_state.cpp @@ -10,7 +10,6 @@ #include "xbt/log.h" #include "xbt/sysdep.h" -#include "src/mc/Transition.hpp" #include "src/mc/mc_comm_pattern.hpp" #include "src/mc/mc_private.hpp" #include "src/mc/mc_request.hpp" diff --git a/src/mc/mc_state.hpp b/src/mc/mc_state.hpp index 11dcca64ed..ed4ce9ad6e 100644 --- a/src/mc/mc_state.hpp +++ b/src/mc/mc_state.hpp @@ -9,10 +9,11 @@ #include #include -#include "src/mc/Transition.hpp" #include "src/mc/mc_record.hpp" #include "src/mc/mc_snapshot.hpp" +#include "src/mc/Transition.hpp" + namespace simgrid { namespace mc {