Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
get_session() deleted
[simgrid.git] / src / mc / checker / Checker.hpp
index c71f17e..107e97f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2019. The SimGrid Team.
+/* Copyright (c) 2016-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@ namespace mc {
 // abstract
 class Checker {
   Session* session_;
+
 public:
   explicit Checker(Session& session);
 
@@ -56,15 +57,14 @@ public:
   /** Log additional information about the state of the model-checker */
   virtual void log_state() = 0;
 
-protected:
-  Session& get_session() { return *session_; }
 };
 
 // External constructors so that the types (and the types of their content) remain hidden
 XBT_PUBLIC Checker* createLivenessChecker(Session& session);
 XBT_PUBLIC Checker* createSafetyChecker(Session& session);
 XBT_PUBLIC Checker* createCommunicationDeterminismChecker(Session& session);
-}
-}
+
+} // namespace mc
+} // namespace simgrid
 
 #endif