Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a few more smells
[simgrid.git] / src / mc / checker / LivenessChecker.hpp
index a428ac8..e7a6dee 100644 (file)
@@ -17,7 +17,6 @@
 #include <simgrid_config.h>
 #include <xbt/base.h>
 #include <xbt/automaton.h>
-#include <xbt/memory.hpp>
 #include "src/mc/mc_state.h"
 #include "src/mc/checker/Checker.hpp"
 
@@ -39,7 +38,7 @@ struct XBT_PRIVATE Pair {
   bool exploration_started = false;
 
   Pair(unsigned long expanded_pairs);
-  ~Pair();
+  ~Pair() = default;
 
   Pair(Pair const&) = delete;
   Pair& operator=(Pair const&) = delete;
@@ -58,13 +57,13 @@ struct XBT_PRIVATE VisitedPair {
     int pair_num, xbt_automaton_state_t automaton_state,
     std::shared_ptr<const std::vector<int>> atomic_propositions,
     std::shared_ptr<simgrid::mc::State> graph_state);
-  ~VisitedPair();
+  ~VisitedPair() = default;
 };
 
 class XBT_PRIVATE LivenessChecker : public Checker {
 public:
   LivenessChecker(Session& session);
-  ~LivenessChecker();
+  ~LivenessChecker() = default;
   void run() override;
   RecordTrace getRecordTrace() override;
   std::vector<std::string> getTextualTrace() override;