Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to please Sonar about redundant forward declaration of Transition.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 26 Jun 2018 13:00:29 +0000 (15:00 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 26 Jun 2018 13:00:29 +0000 (15:00 +0200)
src/mc/checker/CommunicationDeterminismChecker.cpp
src/mc/mc_record.hpp
src/mc/mc_state.cpp
src/mc/mc_state.hpp

index 68836c6..0d1aa71 100644 (file)
@@ -9,7 +9,6 @@
 #include <xbt/log.h>
 #include <xbt/sysdep.h>
 
-#include "src/mc/Transition.hpp"
 #include "src/mc/VisitedState.hpp"
 #include "src/mc/checker/CommunicationDeterminismChecker.hpp"
 #include "src/mc/mc_exit.hpp"
index 34ecd20..244bb20 100644 (file)
@@ -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 <vector>
index 39364ac..92aff1f 100644 (file)
@@ -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"
index 11dcca6..ed4ce9a 100644 (file)
@@ -9,10 +9,11 @@
 #include <list>
 #include <memory>
 
-#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 {