Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use std::string for request_get_dot_output() and s_mc_global_t::prev_req
[simgrid.git] / src / mc / mc_snapshot.h
index a7b4b00..81dc444 100644 (file)
@@ -131,7 +131,7 @@ typedef struct XBT_PRIVATE s_mc_snapshot_stack {
 typedef struct s_mc_global_t {
   std::shared_ptr<simgrid::mc::Snapshot> snapshot;
   int prev_pair = 0;
-  char *prev_req = nullptr;
+  std::string prev_req;
   int initial_communications_pattern_done = 0;
   int recv_deterministic = 0;
   int send_deterministic = 0;