Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove more uses of the session global
[simgrid.git] / src / mc / checker / Checker.hpp
index ebc0448538cfc6591c21df683251fa82b91acc59..c0ba4a38cf2c747f2d2fdc70001b885cd1393a19 100644 (file)
@@ -55,7 +55,7 @@ public:
   /** Log additional information about the state of the model-checker */
   virtual void log_state() = 0;
 
-  Session* get_session() { return session_; }
+  Session& get_session() { return *session_; }
 };
 
 // External constructors so that the types (and the types of their content) remain hidden