]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/mc_pattern.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix MC builds with gcc12 (and make the serialization more robust)
[simgrid.git] / src / mc / mc_pattern.hpp
index c7e4e6e1328d0f964e14b4c29a6e1731f9c2ef9b..ba2f56037560ba55c49d318814fac4a893fd58c8 100644 (file)
@@ -7,6 +7,7 @@
 #define SIMGRID_MC_PATTERN_H
 
 #include "src/kernel/activity/CommImpl.hpp"
+#include "src/mc/remote/RemotePtr.hpp"
 
 namespace simgrid {
 namespace mc {
@@ -24,8 +25,6 @@ public:
   PatternCommunicationType type = PatternCommunicationType::send;
   unsigned long src_proc        = 0;
   unsigned long dst_proc        = 0;
-  const xbt::string* src_host   = nullptr;
-  const xbt::string* dst_host   = nullptr;
   std::string rdv;
   std::vector<char> data;
   int tag   = 0;
@@ -40,7 +39,6 @@ public:
     // src_proc?
     // dst_proc?
     res.dst_proc = this->dst_proc;
-    res.dst_host = this->dst_host;
     res.rdv      = this->rdv;
     res.data     = this->data;
     // tag?