Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename SIMGRID_HAVE_MC into SIMGRID_HAVE_STATEFUL_MC (so that MC can be optional...
[simgrid.git] / src / mc / remote / CheckerSide.hpp
index a3cb6a6..84c70d1 100644 (file)
@@ -21,7 +21,9 @@ class CheckerSide {
   event* socket_event_;
   event* signal_event_;
   std::unique_ptr<event_base, decltype(&event_base_free)> base_{nullptr, &event_base_free};
+#if SIMGRID_HAVE_STATEFUL_MC
   std::unique_ptr<RemoteProcessMemory> remote_memory_;
+#endif
 
   Channel channel_;
   bool running_ = false;
@@ -64,7 +66,9 @@ public:
   pid_t get_pid() const { return pid_; }
   bool running() const { return running_; }
   void terminate() { running_ = false; }
+#if SIMGRID_HAVE_STATEFUL_MC
   RemoteProcessMemory* get_remote_memory() { return remote_memory_.get(); }
+#endif
 };
 
 } // namespace simgrid::mc